summaryrefslogtreecommitdiffstats
path: root/abs/extra/polkit/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-16 16:42:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-16 16:42:47 (GMT)
commit6133bdaaba62a827f2929ea11516d04ce37947a5 (patch)
tree82896c7556bb24852b80f364cb6492c4d668cdbb /abs/extra/polkit/PKGBUILD
parent6ade06defa8f9f5d12383ab7acfb57219a9413e2 (diff)
downloadlinhes_pkgbuild-6133bdaaba62a827f2929ea11516d04ce37947a5.zip
linhes_pkgbuild-6133bdaaba62a827f2929ea11516d04ce37947a5.tar.gz
linhes_pkgbuild-6133bdaaba62a827f2929ea11516d04ce37947a5.tar.bz2
polkit: update 0.112
Diffstat (limited to 'abs/extra/polkit/PKGBUILD')
-rw-r--r--abs/extra/polkit/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/abs/extra/polkit/PKGBUILD b/abs/extra/polkit/PKGBUILD
index e86dbbc..b120d65 100644
--- a/abs/extra/polkit/PKGBUILD
+++ b/abs/extra/polkit/PKGBUILD
@@ -1,27 +1,26 @@
-# $Id: PKGBUILD 158972 2012-05-13 21:06:37Z jgc $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=polkit
-pkgver=0.105
-pkgrel=1
+pkgver=0.112
+pkgrel=2
pkgdesc="Application development toolkit for controlling system-wide privileges"
arch=(i686 x86_64)
-license=('LGPL')
-url="http://www.freedesktop.org/wiki/Software/PolicyKit"
-depends=('glib2' 'pam' 'expat')
-makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
-replaces=('policykit')
-options=('!libtool')
+license=(LGPL)
+url="http://www.freedesktop.org/wiki/Software/polkit"
+depends=(glib2 pam expat systemd js17)
+makedepends=(intltool gtk-doc gobject-introspection)
+install=polkit.install
source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz
polkit.pam)
-md5sums=('9c29e1b6c214f0bd6f1d4ee303dfaed9'
- '6564f95878297b954f0572bc1610dd15')
build() {
cd $pkgname-$pkgver
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
- --disable-static --enable-gtk-doc
+ --enable-libsystemd-login=no --disable-static \
+ --enable-gtk-doc
make
}
@@ -29,5 +28,10 @@ package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ chown 102 "$pkgdir/etc/polkit-1/rules.d"
+ chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
+
install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
}
+md5sums=('b0f2fa00a55f47c6a5d88e9b73f80127'
+ '6564f95878297b954f0572bc1610dd15')