2015-06-14 02:25:42 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - moved rules.d directory ownership to polkit.install
|
|
|
|
|
|
|
|
pkgname=polkit
|
|
|
|
pkgver=0.112
|
2015-06-25 05:18:46 +00:00
|
|
|
pkgrel=3
|
2015-06-14 02:25:42 +00:00
|
|
|
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)
|
2015-06-25 05:18:46 +00:00
|
|
|
makedepends=(intltool gtk-doc gobject-introspection git)
|
2015-06-14 02:25:42 +00:00
|
|
|
install=polkit.install
|
2015-06-25 05:18:46 +00:00
|
|
|
source=("git://anongit.freedesktop.org/polkit#commit=f4d71e0de885010494b8b0b8d62ca910011d7544"
|
2015-06-14 02:25:42 +00:00
|
|
|
polkit.pam)
|
2015-06-25 05:18:46 +00:00
|
|
|
md5sums=('SKIP'
|
|
|
|
'6564f95878297b954f0572bc1610dd15')
|
2015-06-14 02:25:42 +00:00
|
|
|
|
|
|
|
build() {
|
2015-06-25 05:18:46 +00:00
|
|
|
cd $pkgname
|
|
|
|
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-06-14 02:25:42 +00:00
|
|
|
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
|
|
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
|
|
|
|
--enable-libsystemd-login=yes --disable-static \
|
|
|
|
--enable-gtk-doc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-06-25 05:18:46 +00:00
|
|
|
cd $pkgname
|
2015-06-14 02:25:42 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
|
|
|
|
install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
|
|
|
|
}
|