summaryrefslogtreecommitdiff
path: root/testing/upower/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/upower/PKGBUILD')
-rw-r--r--testing/upower/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/upower/PKGBUILD b/testing/upower/PKGBUILD
index 962c304bc..22697257d 100644
--- a/testing/upower/PKGBUILD
+++ b/testing/upower/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 165781 2012-08-29 21:43:32Z heftig $
+# $Id: PKGBUILD 165871 2012-09-02 02:46:11Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=upower
pkgver=0.9.18
-pkgrel=1
+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"
@@ -11,8 +11,10 @@ license=('GPL')
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)
-md5sums=('bfaaa1e7f8479fca5594406b3c36dff9')
+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"
@@ -20,6 +22,9 @@ 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/$pkgname \