summaryrefslogtreecommitdiffstats
path: root/consolekit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'consolekit/Pkgfile')
-rwxr-xr-xconsolekit/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/consolekit/Pkgfile b/consolekit/Pkgfile
index 32a7cc2b9..35a6ef170 100755
--- a/consolekit/Pkgfile
+++ b/consolekit/Pkgfile
@@ -6,10 +6,10 @@
# Run on: dbus-glib,xorg-libx11,policykit,polkit,xmlto,docbook-xsl
name=consolekit
-version=0.4.5
+version=0.4.6
release=2
-source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2
- pam-foreground-compat.ck
+source=(ftp://ftp.archlinux.org/other/$name/ConsoleKit-$version.tar.bz2
+ pam-foreground-compat.ck
consolekit.logrotate)
build() {
@@ -21,8 +21,10 @@ build() {
--libexecdir=/usr/lib/ConsoleKit \
--enable-pam-module \
--enable-docbook-docs \
- --with-dbus-services=$PKG/usr/share/dbus-1/services
-
+ --with-dbus-services=$PKG/usr/share/dbus-1/services \
+ --with-pam-module-dir=/lib/security \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --enable-udev-acl
make
make DESTDIR=$PKG install
install -m755 $SRC/pam-foreground-compat.ck $PKG/usr/lib/ConsoleKit/run-session.d/