summaryrefslogtreecommitdiff
path: root/testing/upower
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/upower
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/upower')
-rw-r--r--testing/upower/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/upower/PKGBUILD b/testing/upower/PKGBUILD
new file mode 100644
index 000000000..53e71553a
--- /dev/null
+++ b/testing/upower/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 116154 2011-03-22 19:35:44Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=upower
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
+arch=('i686' 'x86_64')
+url="http://upower.freedesktop.org"
+license=('GPL')
+depends=('udev' 'libusb' 'polkit' 'pm-utils' 'dbus-glib')
+makedepends=('pkg-config' 'intltool' 'docbook-xsl' 'gobject-introspection')
+replaces=('devicekit-power')
+options=('!libtool')
+source=($url/releases/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('39e19bab2c776000477d6d0ddb4bc508808954f63867a2da2be40eaf341214e2')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/upower --disable-static
+ make
+ make DESTDIR="${pkgdir}" install
+}