summaryrefslogtreecommitdiffstats
path: root/extra/consolekit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/consolekit/Pkgfile')
-rwxr-xr-xextra/consolekit/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/consolekit/Pkgfile b/extra/consolekit/Pkgfile
index 39bdfd437..964f3ff34 100755
--- a/extra/consolekit/Pkgfile
+++ b/extra/consolekit/Pkgfile
@@ -7,8 +7,9 @@
name=consolekit
version=0.4.4
-release=1
-source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2)
+release=3
+source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2
+ pam-foreground-compat.ck)
build() {
cd ConsoleKit-$version
@@ -18,9 +19,11 @@ build() {
--localstatedir=/var \
--libexecdir=/usr/lib/ConsoleKit \
--enable-pam-module \
- --enable-docbook-docs
+ --enable-docbook-docs \
+ --with-dbus-services=$PKG/usr/share/dbus-1/services
make
make DESTDIR=$PKG install
+ install -m755 $SRC/pam-foreground-compat.ck $PKG/usr/lib/ConsoleKit/run-session.d/
}