# Maintainer: Natanael Copa pkgname=upower pkgver=0.9.10 pkgrel=0 pkgdesc="Power Management Services" url="http://upower.freedesktop.org" arch="all" license="GPL" depends="" subpackages="$pkgname-dev $pkgname-doc" makedepends="gtk+-dev udev-dev libusb-dev polkit-dev dbus-glib-dev libxslt docbook-xsl" source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ --disable-static make } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="8f1fb798f2ae754f25f00da7bc9e2ba3 upower-0.9.10.tar.bz2"