# Template file for 'polkit'
pkgname=polkit
version=0.110
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-systemd=yes --with-authfw=pam
 --with-systemdsystemunitdir=/usr/lib/systemd/system"
short_desc="Authorization Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/polkit"
license="GPL-2"
distfiles="http://www.freedesktop.org/software/polkit/releases/polkit-${version}.tar.gz"
checksum=8e5c5044bb968643b7fa379f287fb10582615df760ad2f1cb84be6e19fafe6e8

system_accounts="polkitd"
subpackages="polkit-devel"
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel
 expat-devel pam-devel systemd-devel gobject-introspection js-devel"

post_install() {
	vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
	vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf
}
