summaryrefslogtreecommitdiffstats
path: root/abs/extra/upower/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-11-03 21:06:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-11-03 21:06:35 (GMT)
commit269b32c5d4ee2c80dac748c9c9d2918bde69b404 (patch)
tree8024277528470fc913b8cef4ad77b577fc36c160 /abs/extra/upower/PKGBUILD
parent875d51444ac3d01367f9fcb26da04ecf81200148 (diff)
downloadlinhes_pkgbuild-269b32c5d4ee2c80dac748c9c9d2918bde69b404.zip
linhes_pkgbuild-269b32c5d4ee2c80dac748c9c9d2918bde69b404.tar.gz
linhes_pkgbuild-269b32c5d4ee2c80dac748c9c9d2918bde69b404.tar.bz2
upower: update to 0.99.3
Diffstat (limited to 'abs/extra/upower/PKGBUILD')
-rw-r--r--abs/extra/upower/PKGBUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/abs/extra/upower/PKGBUILD b/abs/extra/upower/PKGBUILD
index d27d378..7833118 100644
--- a/abs/extra/upower/PKGBUILD
+++ b/abs/extra/upower/PKGBUILD
@@ -1,29 +1,25 @@
-# $Id: PKGBUILD 166524 2012-09-09 15:41:20Z heftig $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=upower
-pkgver=0.9.18
-pkgrel=2
+pkgver=0.99.3
+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=('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
- 0001-Send-resume-signal-when-built-with-systemd-and-using.patch)
+depends=('systemd' 'libusb' 'dbus-glib' 'libimobiledevice' 'libgudev')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'python2')
+backup=('etc/UPower/UPower.conf')
+source=(http://upower.freedesktop.org/releases/$pkgname-$pkgver.tar.xz)
+sha256sums=('697199bcc113bb069e6fb6bf4135536a702ba9847e46c5fc6df87d19624ddd38')
build() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
- # 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 \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$pkgname \
--disable-static
@@ -31,8 +27,6 @@ build() {
}
package() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
-md5sums=('bfaaa1e7f8479fca5594406b3c36dff9'
- '188afea4919dc324b2efbae35d9d216a')