extra/polkit to 0.112-3

This commit is contained in:
Kevin Mihelich 2015-06-25 05:18:46 +00:00
parent 9e2ca93b9c
commit 13ec2d1e10
2 changed files with 9 additions and 16 deletions

View file

@ -6,19 +6,23 @@
pkgname=polkit
pkgver=0.112
pkgrel=2.1
pkgrel=3
pkgdesc="Application development toolkit for controlling system-wide privileges"
arch=(i686 x86_64)
license=(LGPL)
url="http://www.freedesktop.org/wiki/Software/polkit"
depends=(glib2 pam expat systemd js17)
makedepends=(intltool gtk-doc gobject-introspection)
makedepends=(intltool gtk-doc gobject-introspection git)
install=polkit.install
source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz
source=("git://anongit.freedesktop.org/polkit#commit=f4d71e0de885010494b8b0b8d62ca910011d7544"
polkit.pam)
md5sums=('SKIP'
'6564f95878297b954f0572bc1610dd15')
build() {
cd $pkgname-$pkgver
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
@ -28,10 +32,8 @@ build() {
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
}
md5sums=('b0f2fa00a55f47c6a5d88e9b73f80127'
'6564f95878297b954f0572bc1610dd15')

View file

@ -9,12 +9,3 @@ post_install() {
post_upgrade() {
post_install
}
post_remove() {
if getent passwd polkitd >/dev/null; then
userdel polkitd
fi
if getent group polkitd >/dev/null; then
groupdel polkitd
fi
}