summaryrefslogtreecommitdiff
path: root/extra/upower/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/upower/PKGBUILD')
-rw-r--r--extra/upower/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index 922530b2c..e462b8550 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 174773 2013-01-07 12:34:08Z jgc $
+# $Id: PKGBUILD 180239 2013-03-18 19:28:47Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=upower
-pkgver=0.9.19
+pkgver=0.9.20
pkgrel=1
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
arch=('i686' 'x86_64')
@@ -11,10 +11,8 @@ 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
- lg-unifying-fix-K750-features-name-use-1-second-interval.patch)
-md5sums=('f96955ff1a2e4f006937d6b5ea95afb8'
- '04b2a6141e80e422a9fe2820b5b3a613')
+source=($url/releases/$pkgname-$pkgver.tar.xz)
+md5sums=('f175984d142dc8d2353a7da609836b69')
build() {
cd "$pkgname-$pkgver"
@@ -22,12 +20,11 @@ build() {
# put udev files in /usr/lib
sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
- patch -Np1 -i ../lg-unifying-fix-K750-features-name-use-1-second-interval.patch
-
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$pkgname \
- --disable-static
+ --disable-static \
+ --enable-deprecated
make
}