void-packages/srcpkgs/polkit/template

32 lines
1.2 KiB
Plaintext

# Template file for 'polkit'
pkgname=polkit
version=0.107
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-systemd=yes --with-authfw=pam
--with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel
expat-devel pam-devel systemd-devel gobject-introspection js-devel"
replaces="PolicyKit>=0"
subpackages="polkit-devel"
short_desc="Authorization Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
license="GPL-2"
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
checksum=c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311
long_desc="
PolicyKit is an application-level toolkit for defining and handling the
policy that allows unprivileged processes to speak to privileged processes.
It is a framework for centralizing the decision making process with respect
to granting access to privileged operations (like calling the HAL Mount()
method) for unprivileged (desktop) applications."
system_accounts="polkitd"
post_install() {
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf
}