From e2fb609d3af7a203357fd6ca983fef5f4dfba7eb Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Sep 2011 23:14:33 +0000 Subject: Tue Sep 6 23:14:33 UTC 2011 --- gnome-unstable/upower/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 gnome-unstable/upower/PKGBUILD (limited to 'gnome-unstable/upower') diff --git a/gnome-unstable/upower/PKGBUILD b/gnome-unstable/upower/PKGBUILD new file mode 100644 index 000000000..c4e769670 --- /dev/null +++ b/gnome-unstable/upower/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 137028 2011-09-05 15:14:03Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=upower +pkgver=0.9.13 +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' 'libimobiledevice') +makedepends=('pkg-config' 'intltool' 'docbook-xsl' 'gobject-introspection') +replaces=('devicekit-power') +options=('!libtool') +source=($url/releases/${pkgname}-${pkgver}.tar.xz) +sha256sums=('2c7dd2c26d11da628d68111d50eed51244a8337c1d0830addecd1372a7d44a22') + +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 +} -- cgit v1.2.3-54-g00ecf