# Maintainer: Natanael Copa pkgname=consolekit pkgver=0.4.2 pkgrel=0 pkgdesc="Framework for defining and tracking users, login sessions, and seats" url="http://www.freedesktop.org/wiki/Software/ConsoleKit" arch="x86 x86_64" license="GPL-2" depends= makedepends="polkit-dev zlib-dev libx11-dev dbus-glib-dev" depends_dev="dbus-dev" install= subpackages="$pkgname-dev $pkgname-doc" source="http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2" _builddir="$srcdir"/ConsoleKit-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="285acb35bfcb2b8dc21c6071e6f6e116 ConsoleKit-0.4.2.tar.bz2"