summaryrefslogtreecommitdiff
path: root/testing/upower
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
committerroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
commit956ae4eb53422c92f78d86d5511f25fbf6fa6497 (patch)
treecaf6b75559c4c4d94ad9f94c1909f410c90e2ad0 /testing/upower
parent6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff)
Thu May 26 22:47:02 UTC 2011
Diffstat (limited to 'testing/upower')
-rw-r--r--testing/upower/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/upower/PKGBUILD b/testing/upower/PKGBUILD
new file mode 100644
index 000000000..4f45a4e78
--- /dev/null
+++ b/testing/upower/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 124973 2011-05-25 14:17:57Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=upower
+pkgver=0.9.11
+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=('567358cc1b4887485d29e309897dd091c2c2ae95e48dfbb3279ffdc44a4b2956')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/upower --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}