summaryrefslogtreecommitdiff
path: root/extra/upower/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/upower/PKGBUILD')
-rw-r--r--extra/upower/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
new file mode 100644
index 000000000..431d98e13
--- /dev/null
+++ b/extra/upower/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 107049 2011-01-20 21:06:41Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=upower
+pkgver=0.9.8
+pkgrel=2
+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>=165' 'libusb>=1.0.8' 'polkit>=0.99' 'pm-utils' 'dbus-glib>=0.92')
+makedepends=('pkg-config' 'intltool' 'docbook-xsl')
+replaces=('devicekit-power')
+options=('!libtool')
+source=($url/releases/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('7afaec3cb10ebbc898308c7abd250c27fd58e10379a42e80444d7a4b32f2eb91')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/upower --disable-static
+ make
+ make DESTDIR="${pkgdir}" install
+}