polkit: switch to /usr.
This commit is contained in:
parent
6324d5eac2
commit
10b4ef374d
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'polkit'
|
# Template file for 'polkit'
|
||||||
pkgname=polkit
|
pkgname=polkit
|
||||||
version=0.105
|
version=0.105
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-systemd=yes"
|
configure_args="--disable-static --enable-systemd=yes"
|
||||||
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel expat-devel pam-devel systemd-devel gobject-introspection"
|
makedepends="pkg-config intltool libxslt docbook-xsl glib-devel
|
||||||
|
expat-devel pam-devel systemd-devel gobject-introspection"
|
||||||
replaces="PolicyKit>=0"
|
replaces="PolicyKit>=0"
|
||||||
subpackages="polkit-devel"
|
subpackages="polkit-devel"
|
||||||
short_desc="Authorization Toolkit"
|
short_desc="Authorization Toolkit"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
|
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
|
||||||
checksum=8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df
|
checksum=8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df
|
||||||
long_desc="
|
long_desc="
|
||||||
PolicyKit is an application-level toolkit for defining and handling the
|
PolicyKit is an application-level toolkit for defining and handling the
|
||||||
|
@ -27,7 +28,8 @@ make_dirs="
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
||||||
vinstall ${FILESDIR}/polkitd.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/polkitd.service 644 usr/lib/systemd/system
|
||||||
|
|
||||||
for f in 10-vendor 20-org 30-site 50-local 90-mandatory; do
|
for f in 10-vendor 20-org 30-site 50-local 90-mandatory; do
|
||||||
vmkdir etc/polkit-1/localauthority/${f}.d
|
vmkdir etc/polkit-1/localauthority/${f}.d
|
||||||
touch ${DESTDIR}/etc/polkit-1/localauthority/${f}.d/.owned
|
touch ${DESTDIR}/etc/polkit-1/localauthority/${f}.d/.owned
|
||||||
|
|
Loading…
Reference in a new issue