# $Id: PKGBUILD 154518 2012-03-29 19:49:04Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot 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 }