2009-11-28 23:08:14 +00:00
|
|
|
# Template file for 'polkit'
|
|
|
|
pkgname=polkit
|
2013-01-12 08:43:21 +00:00
|
|
|
version=0.110
|
2013-04-13 11:29:34 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-06 13:32:40 +00:00
|
|
|
configure_args="--disable-static --enable-systemd=yes --with-authfw=pam
|
2012-11-20 23:02:33 +00:00
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
2009-11-28 23:08:14 +00:00
|
|
|
short_desc="Authorization Toolkit"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-07 13:08:48 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/polkit"
|
2011-08-18 07:14:31 +00:00
|
|
|
license="GPL-2"
|
2013-01-07 13:08:48 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/polkit/releases/polkit-${version}.tar.gz"
|
2013-01-12 08:43:21 +00:00
|
|
|
checksum=8e5c5044bb968643b7fa379f287fb10582615df760ad2f1cb84be6e19fafe6e8
|
2012-11-20 23:02:33 +00:00
|
|
|
|
|
|
|
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel
|
2013-04-13 11:29:34 +00:00
|
|
|
expat-devel pam-devel systemd-devel gobject-introspection js-devel
|
|
|
|
shadow"
|
2011-10-11 01:30:56 +00:00
|
|
|
|
2011-11-10 11:27:27 +00:00
|
|
|
post_install() {
|
2011-10-13 23:24:03 +00:00
|
|
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
2012-10-06 13:32:40 +00:00
|
|
|
vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf
|
2009-11-28 23:08:14 +00:00
|
|
|
}
|
2013-04-13 11:29:34 +00:00
|
|
|
|
|
|
|
polkit-devel_package() {
|
|
|
|
depends="libglib-devel polkit>=${version}"
|
|
|
|
replaces="PolicyKit-devel>=0"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
polkit_package() {
|
|
|
|
system_accounts="polkitd"
|
|
|
|
depends="shadow"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|