diff options
author | root <root@rshg054.dnsready.net> | 2012-03-08 00:01:27 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-08 00:01:27 +0000 |
commit | 718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch) | |
tree | bff46acd12c91eafe51a7feebb7f840e9834cc0e /gnome-unstable/polkit/PKGBUILD | |
parent | 5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff) |
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'gnome-unstable/polkit/PKGBUILD')
-rw-r--r-- | gnome-unstable/polkit/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-unstable/polkit/PKGBUILD b/gnome-unstable/polkit/PKGBUILD new file mode 100644 index 000000000..bac254696 --- /dev/null +++ b/gnome-unstable/polkit/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 152307 2012-03-06 15:17:55Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=polkit +pkgver=0.104 +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' 'libsystemd') +makedepends=('intltool' 'gtk-doc' 'gobject-introspection') +replaces=('policykit') +options=('!libtool') +source=(http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz + polkit.pam systemd-fallback.patch) +md5sums=('e380b4c6fb1e7bccf854e92edc0a8ce1' + '6564f95878297b954f0572bc1610dd15' + '3c89d97a329ab0ea3a9248c68c3ab000') + +build() { + cd $pkgname-$pkgver + patch -Np1 -i ../systemd-fallback.patch + autoreconf -f -i + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ + --disable-static --enable-gtk-doc --enable-systemd + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1" +} |