summaryrefslogtreecommitdiff
path: root/extra/consolekit
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-11 04:43:21 +0000
committerroot <root@rshg047.dnsready.net>2011-04-11 04:43:21 +0000
commit06c7c4c5ef2c808f288b2a8cd63548a322d66754 (patch)
tree178258b847b80ef8c3f25abc6c5ae2495048b66b /extra/consolekit
parent8f6922302486fa1cc1112ff8b3daddb48c3260f2 (diff)
Mon Apr 11 04:43:21 UTC 2011
Diffstat (limited to 'extra/consolekit')
-rw-r--r--extra/consolekit/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/consolekit/PKGBUILD b/extra/consolekit/PKGBUILD
index 79f9d831a..d1a6f8519 100644
--- a/extra/consolekit/PKGBUILD
+++ b/extra/consolekit/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 108600 2011-02-01 20:16:14Z ibiru $
+# $Id: PKGBUILD 119015 2011-04-10 13:37:10Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: onestep_ua <onestep@ukr.net>
pkgname=consolekit
pkgver=0.4.3
-pkgrel=2
+pkgrel=3
pkgdesc="A framework for defining and tracking users, login sessions, and seats"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license=('GPL')
-depends=('polkit>=0.99' 'zlib' 'libx11>=1.4.1' 'dbus-glib>=0.92')
+depends=('polkit' 'zlib' 'libx11' 'dbus-glib')
makedepends=('pkgconfig' 'xmlto' 'docbook-xsl')
options=(!libtool)
source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2
@@ -27,9 +27,15 @@ build() {
--enable-pam-module \
--enable-docbook-docs
make
+}
+
+package() {
+ cd "${srcdir}/ConsoleKit-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 "${srcdir}/pam-foreground-compat.ck" "${pkgdir}/usr/lib/ConsoleKit/run-session.d/"
# install the logrotate config
install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit
+
+ rm -rf "${pkgdir}/var/run"
}