summaryrefslogtreecommitdiffstats
path: root/consolekit/Pkgfile
blob: 5c6b548307d29b0365a82c4aaa3ea55f73f6fa8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: framework for defining and tracking users, login sessions, and seats
# URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed do ch
# Depends on: dbus-glib, xorg-libx11, polkit, xmlto, docbook-xsl
# Run on: dbus-glib,xorg-libx11,policykit,polkit,xmlto

name=consolekit
version=0.4.6
release=2
source=(ftp://ftp.archlinux.org/other/$name/ConsoleKit-$version.tar.bz2
	pam-foreground-compat.ck
	consolekit.logrotate)

build() {
	cd ConsoleKit-$version

	./configure --prefix=/usr \
	    --sysconfdir=/etc \
	    --localstatedir=/var \
	    --libexecdir=/usr/lib/ConsoleKit \
	    --enable-pam-module \
      	    --enable-docbook-docs \
	    --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/
	install -D -m644 $SRC/consolekit.logrotate $PKG/etc/logrotate.d/consolekit
}