[arch-commits] Commit in gnome-power-manager/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:33:42 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:33:41
  Author: heftig
Revision: 155133

db-move: moved gnome-power-manager from [gnome-unstable] to [testing] (x86_64)

Added:
  gnome-power-manager/repos/testing-x86_64/
  gnome-power-manager/repos/testing-x86_64/PKGBUILD
    (from rev 155005, gnome-power-manager/repos/gnome-unstable-x86_64/PKGBUILD)
  gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install
    (from rev 155005, gnome-power-manager/repos/gnome-unstable-x86_64/gnome-power-manager.install)
Deleted:
  gnome-power-manager/repos/gnome-unstable-x86_64/

-----------------------------+
 PKGBUILD                    |   32 ++++++++++++++++++++++++++++++++
 gnome-power-manager.install |   12 ++++++++++++
 2 files changed, 44 insertions(+)

Copied: gnome-power-manager/repos/testing-x86_64/PKGBUILD (from rev 155005, gnome-power-manager/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:33:41 UTC (rev 155133)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="Power management tools."
+arch=(i686 x86_64)
+url="http://www.gnome.org/projects/gnome-power-manager/"
+license=('GPL')
+depends=('gtk3' 'upower' 'dconf' 'hicolor-icon-theme')
+makedepends=('intltool')
+options=(!emptydirs)
+install=gnome-power-manager.install
+groups=(gnome-extra)
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('2c47786a1ed85b6ba48ad5e74e2584ab7cbc0127fda46359ec4671b1c0286c71')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib/gnome-power-manager \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install (from rev 155005, gnome-power-manager/repos/gnome-unstable-x86_64/gnome-power-manager.install)
===================================================================
--- testing-x86_64/gnome-power-manager.install	                        (rev 0)
+++ testing-x86_64/gnome-power-manager.install	2012-04-01 11:33:41 UTC (rev 155133)
@@ -0,0 +1,12 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list