# $Id: PKGBUILD 188528 2013-06-15 09:16:15Z tomegun $ # Maintainer: Jan de Groot pkgname=polkit pkgver=0.111 pkgver=0.110 # holding version, it now depends on non-portable 'js' pkgrel=1 pkgdesc="Application development toolkit for controlling system-wide privileges" arch=(i686 x86_64 'mips64el') license=(LGPL) url="http://www.freedesktop.org/wiki/Software/polkit" depends=(glib2 pam expat libsystemd js) makedepends=(intltool gtk-doc gobject-introspection) options=('!libtool') install=polkit.install source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz polkit.pam) build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ --enable-libsystemd-login=yes --disable-static \ --enable-gtk-doc make } 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=('81b116edf986d8e13502929a171f4e0d' '6564f95878297b954f0572bc1610dd15')