diff options
author | root <root@rshg054.dnsready.net> | 2012-10-31 01:35:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-31 01:35:35 -0700 |
commit | 5827948456201df72a1bd73e87977c569129fb27 (patch) | |
tree | 4842639ddc958690e68f74c496ea60844200450b /extra/polkit/PKGBUILD | |
parent | 455295fdb5009a8cd7b033a93e01f7450fd3087b (diff) |
Wed Oct 31 01:34:59 PDT 2012
Diffstat (limited to 'extra/polkit/PKGBUILD')
-rw-r--r-- | extra/polkit/PKGBUILD | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/extra/polkit/PKGBUILD b/extra/polkit/PKGBUILD index e86dbbc02..40300622d 100644 --- a/extra/polkit/PKGBUILD +++ b/extra/polkit/PKGBUILD @@ -1,26 +1,33 @@ -# $Id: PKGBUILD 158972 2012-05-13 21:06:37Z jgc $ +# $Id: PKGBUILD 169989 2012-10-30 23:00:46Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=polkit -pkgver=0.105 -pkgrel=1 +pkgver=0.107 +pkgrel=4 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') +depends=('glib2' 'pam' 'expat' 'libsystemd' 'js') makedepends=('intltool' 'gtk-doc' 'gobject-introspection') replaces=('policykit') options=('!libtool') +install=polkit.install source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz - polkit.pam) -md5sums=('9c29e1b6c214f0bd6f1d4ee303dfaed9' - '6564f95878297b954f0572bc1610dd15') + polkit.pam fix-empty-wheel.patch) +md5sums=('0e4f9c53f43fd1b25ac3f0d2e09b2ae1' + '6564f95878297b954f0572bc1610dd15' + 'c99ab2a7919ad0b69fde4804c043b07f') build() { cd $pkgname-$pkgver + + # https://bugs.archlinux.org/task/31717 + patch -Np1 -i ../fix-empty-wheel.patch + ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ --disable-static --enable-gtk-doc make } @@ -29,5 +36,8 @@ 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" } |