void-packages/srcpkgs/polkit/template

33 lines
1.2 KiB
Plaintext

# Template file for 'polkit'
pkgname=polkit
version=0.108
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/PolicyKit"
license="GPL-2"
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
checksum=2877c15f56abe43609f6ece54ee0bfea169ca6d7b271b17296b14d751eab23a6
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."
LDFLAGS="-lgmodule-2.0"
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
}