From 98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Apr 2012 00:01:35 +0000 Subject: Wed Apr 25 00:01:35 UTC 2012 --- extra/gnome-power-manager/PKGBUILD | 18 +++++++++--------- extra/gnome-power-manager/gnome-power-manager.install | 11 ++--------- 2 files changed, 11 insertions(+), 18 deletions(-) (limited to 'extra/gnome-power-manager') diff --git a/extra/gnome-power-manager/PKGBUILD b/extra/gnome-power-manager/PKGBUILD index e69a65c27..69816dd1e 100644 --- a/extra/gnome-power-manager/PKGBUILD +++ b/extra/gnome-power-manager/PKGBUILD @@ -1,32 +1,32 @@ -# $Id: PKGBUILD 140903 2011-10-20 05:42:55Z ibiru $ -# Maintainer: Jan de Groot +# $Id: PKGBUILD 156837 2012-04-23 09:07:16Z ibiru $ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Jan de Groot pkgname=gnome-power-manager -pkgver=3.2.1 +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' 'gnome-doc-utils') +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=('11bc604dd237e28eb08a67e6d507c3edebb96a43a3483390bd0c8100a206dbdb') +sha256sums=('2c47786a1ed85b6ba48ad5e74e2584ab7cbc0127fda46359ec4671b1c0286c71') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $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 + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } diff --git a/extra/gnome-power-manager/gnome-power-manager.install b/extra/gnome-power-manager/gnome-power-manager.install index 4666938db..f7e8c46ac 100644 --- a/extra/gnome-power-manager/gnome-power-manager.install +++ b/extra/gnome-power-manager/gnome-power-manager.install @@ -1,13 +1,6 @@ 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 + glib-compile-schemas /usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor } post_upgrade() { -- cgit v1.2.3-54-g00ecf