[arch-commits] Commit in gnome-power-manager/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:30:46 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:30:45
Author: ibiru
Revision: 138934
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 138832, gnome-power-manager/repos/gnome-unstable-x86_64/PKGBUILD)
gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install
(from rev 138832, 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 | 19 +++++++++++++++++++
2 files changed, 51 insertions(+)
Copied: gnome-power-manager/repos/testing-x86_64/PKGBUILD (from rev 138832, gnome-power-manager/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-28 19:30:45 UTC (rev 138934)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.2.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' 'gnome-doc-utils')
+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=('d66f97f6cff716dd3c612f1a17b0e2b5dfb138deb92ea3d0a782a0144a7eab95')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/gnome-power-manager \
+ --disable-scrollkeeper \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install (from rev 138832, 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 2011-09-28 19:30:45 UTC (rev 138934)
@@ -0,0 +1,19 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.91.92) < 0 )); then
+ usr/sbin/gconfpkg --uninstall gnome-power-manager
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list