summaryrefslogtreecommitdiffstats
path: root/extra/polkit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/polkit/Pkgfile')
-rwxr-xr-xextra/polkit/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/polkit/Pkgfile b/extra/polkit/Pkgfile
index 6375469a7..b1a2066a5 100755
--- a/extra/polkit/Pkgfile
+++ b/extra/polkit/Pkgfile
@@ -7,8 +7,10 @@
name=polkit
version=0.99
-release=1
-source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz)
+release=2
+source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz
+ polkit.pam)
+
build() {
unset MAKEFLAGS
cd $name-$version
@@ -17,9 +19,9 @@ build() {
--libexecdir=/usr/lib/polkit \
--mandir=/usr/share/man \
--localstatedir=/var \
- --libexecdir=/usr/lib/polkit-1 \
--disable-static
make
make DESTDIR=$PKG install
+ install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
}