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

Jan Steffens heftig at archlinux.org
Sun Apr 1 11:33:39 UTC 2012


    Date: Sunday, April 1, 2012 @ 07:33:39
  Author: heftig
Revision: 155132

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

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

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

Copied: gnome-power-manager/repos/testing-i686/PKGBUILD (from rev 155005, gnome-power-manager/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:33:39 UTC (rev 155132)
@@ -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-i686/gnome-power-manager.install (from rev 155005, gnome-power-manager/repos/gnome-unstable-i686/gnome-power-manager.install)
===================================================================
--- testing-i686/gnome-power-manager.install	                        (rev 0)
+++ testing-i686/gnome-power-manager.install	2012-04-01 11:33:39 UTC (rev 155132)
@@ -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