diff options
Diffstat (limited to 'extra/consolekit/PKGBUILD')
-rw-r--r-- | extra/consolekit/PKGBUILD | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/extra/consolekit/PKGBUILD b/extra/consolekit/PKGBUILD index 6ab97891b..5079db709 100644 --- a/extra/consolekit/PKGBUILD +++ b/extra/consolekit/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 125884 2011-05-31 13:01:15Z ibiru $ +# $Id: PKGBUILD 145880 2012-01-03 17:21:38Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: onestep_ua <onestep@ukr.net> pkgname=consolekit pkgver=0.4.5 -pkgrel=1 +pkgrel=2 pkgdesc="A framework for defining and tracking users, login sessions, and seats" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/ConsoleKit" @@ -12,14 +12,15 @@ license=('GPL') 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 - pam-foreground-compat.ck consolekit.logrotate) +source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 + pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) md5sums=('f2657f93761206922d558471a936fbc3' 'a8a4de71d9b0549b8143e5f6c2a36fc7' - '6fefa451d9fe2fc6d6269629d3529793') + '6fefa451d9fe2fc6d6269629d3529793' + '8c5a8059db515d40fae1379daf084094') build() { - cd "${srcdir}/ConsoleKit-${pkgver}" + cd "$srcdir/ConsoleKit-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -31,12 +32,14 @@ build() { } package() { - cd "${srcdir}/ConsoleKit-${pkgver}" - make DESTDIR="${pkgdir}" install - install -m755 "${srcdir}/pam-foreground-compat.ck" "${pkgdir}/usr/lib/ConsoleKit/run-session.d/" + 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 + install -D -m644 "$srcdir/consolekit.logrotate" "$pkgdir/etc/logrotate.d/consolekit" -# rm -rf "${pkgdir}/var/run" + install -D -m644 "$srcdir/consolekit.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/consolekit.conf" + + rm -rf "${pkgdir}/var/run" } |