summaryrefslogtreecommitdiff
path: root/extra/upower
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
commitdefe74c9cba07c321ad2869d8f6872e64a167324 (patch)
tree22377a98049a863983b9a28d9d79fc737f665cc3 /extra/upower
parent752015395fc8b95cc4a86b68189cb747fe9a8499 (diff)
Wed May 2 00:01:22 UTC 2012
Diffstat (limited to 'extra/upower')
-rw-r--r--extra/upower/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index 73ec9cdda..1d8c537f8 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 157763 2012-04-29 07:02:42Z allan $
+# $Id: PKGBUILD 158002 2012-04-30 22:34:00Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=upower
-pkgver=0.9.15
-pkgrel=3
+pkgver=0.9.16
+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"
@@ -12,20 +12,23 @@ depends=('udev' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
makedepends=('intltool' 'docbook-xsl' 'gobject-introspection')
options=('!libtool')
source=($url/releases/$pkgname-$pkgver.tar.xz)
-sha256sums=('d5941480f32dcee47401b3f650485c71f70e7eb0d92537bf4b62410248a6238c')
+sha256sums=('eb9a3d39a8cb62970fd612e333bc7a43437ab0e7890303578b0a7e3c67c8c212')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
# put udev files in /usr/lib
sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/upower --disable-static
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/upower \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --disable-static
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}