summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/polkit-elogind/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/pcr/polkit-elogind/PKGBUILD b/pcr/polkit-elogind/PKGBUILD
index da75f3428..304c464f2 100644
--- a/pcr/polkit-elogind/PKGBUILD
+++ b/pcr/polkit-elogind/PKGBUILD
@@ -6,8 +6,8 @@
_pkgname=polkit
pkgname=polkit-elogind
-pkgver=0.113+29+g3272a98
-pkgrel=10
+pkgver=0.113+34+g29ba7af
+pkgrel=1
pkgdesc="PolyciKit with elogind support for non-systemd systems"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.freedesktop.org/wiki/Software/polkit"
@@ -19,7 +19,7 @@ conflicts=('polkit' 'polkit-consolekit')
#replaces=('polkit-consolekit')
options=('!libtool')
install=polkit.install
-_commit=3272a988655c3236b55bad70e9a3af20857f384b
+_commit=29ba7afba1b79a325183a71966f35926dfdf506e # master
#source=("http://www.freedesktop.org/software/polkit/releases/$_pkgname-$pkgver.tar.gz")
source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit"
'99-parabola.rules'
@@ -47,7 +47,7 @@ build() {
--sysconfdir=/etc \
--sbindir=/usr/bin \
--localstatedir=/var \
- --libexecdir=/usr/lib/polkit-1 \
+ --libexecdir=/usr/lib \
--enable-libsystemd-login=no \
--enable-libelogind=yes \
--disable-static \
@@ -70,4 +70,9 @@ package() {
chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
install -m0644 "${srcdir}"/99-parabola.rules "${pkgdir}"/etc/polkit-1/rules.d
+
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" <<END
+u polkitd 102 "PolicyKit daemon"
+m polkitd proc
+END
}