diff options
author | root <root@rshg054.dnsready.net> | 2012-09-11 00:03:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-11 00:03:28 +0000 |
commit | 870527386e33c72826da94aee783bb212b06c53a (patch) | |
tree | 2fbd49892a0a64421288762f7947cf20430ac244 /extra/upower/PKGBUILD | |
parent | 2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 (diff) |
Tue Sep 11 00:03:27 UTC 2012
Diffstat (limited to 'extra/upower/PKGBUILD')
-rw-r--r-- | extra/upower/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD index 4b1454406..bbcc86679 100644 --- a/extra/upower/PKGBUILD +++ b/extra/upower/PKGBUILD @@ -1,17 +1,20 @@ -# $Id: PKGBUILD 164370 2012-07-31 19:43:25Z eric $ +# $Id: PKGBUILD 166524 2012-09-09 15:41:20Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=upower -pkgver=0.9.17 +pkgver=0.9.18 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=('systemd-tools' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice') -makedepends=('intltool' 'docbook-xsl' 'gobject-introspection') +depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice') +makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'systemd') options=('!libtool') -source=($url/releases/$pkgname-$pkgver.tar.xz) +source=($url/releases/$pkgname-$pkgver.tar.xz + 0001-Send-resume-signal-when-built-with-systemd-and-using.patch) +md5sums=('bfaaa1e7f8479fca5594406b3c36dff9' + '188afea4919dc324b2efbae35d9d216a') build() { cd "$pkgname-$pkgver" @@ -19,11 +22,13 @@ build() { # put udev files in /usr/lib sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure + # https://bugs.freedesktop.org/show_bug.cgi?id=54371 + patch -Np1 -i ../0001-Send-resume-signal-when-built-with-systemd-and-using.patch + ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib/upower \ - --with-systemdsystemunitdir=/usr/lib/systemd/system \ - --disable-static + --localstatedir=/var \ + --libexecdir=/usr/lib/$pkgname \ + --disable-static make } @@ -31,4 +36,3 @@ package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install } -md5sums=('9ef7fc8ec438542f014f3a34552822aa') |