diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-08-28 17:47:32 -0500 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:14:58 -0300 |
commit | a566855682e5a4de24dadc5ff2aa58d21d802728 (patch) | |
tree | d3c8fe0f170d9441a1cc1b068c42940a918d7174 /pcr/consolekit/PKGBUILD | |
parent | 2f32593d2862736f4cbd06a7926245a2c02a2cd4 (diff) | |
download | abslibre-a566855682e5a4de24dadc5ff2aa58d21d802728.tar.gz abslibre-a566855682e5a4de24dadc5ff2aa58d21d802728.tar.bz2 abslibre-a566855682e5a4de24dadc5ff2aa58d21d802728.zip |
consolekit-0.9.4-1: updating version
Diffstat (limited to 'pcr/consolekit/PKGBUILD')
-rw-r--r-- | pcr/consolekit/PKGBUILD | 55 |
1 files changed, 25 insertions, 30 deletions
diff --git a/pcr/consolekit/PKGBUILD b/pcr/consolekit/PKGBUILD index 42a4a0707..1cd602a03 100644 --- a/pcr/consolekit/PKGBUILD +++ b/pcr/consolekit/PKGBUILD @@ -1,39 +1,41 @@ -# Maintainer : freaj <freaj@riseup.net> -# Maintainer (Manjaro): artoo <artoo@manjaro.org> +# Maintainer (Arch): artoo <artoo@manjaro.org> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> _pkgname=ConsoleKit2 pkgname=consolekit -pkgver=0.9.2 -pkgrel=4 +pkgver=0.9.4 +pkgrel=1 pkgdesc="A framework for defining and tracking users, login sessions, and seats" arch=('i686' 'x86_64') url="https://github.com/ConsoleKit2/ConsoleKit2" license=('GPL') -provides=('logind') -depends=('dbus' 'dbus-glib' 'libx11' 'polkit' 'udev' 'zlib') +#provides=('logind') +depends=('dbus' 'glib2' 'libx11' 'polkit-consolekit' 'udev' 'zlib') optdepends=('consolekit-openrc: consolekit openrc initscript') makedepends=('xmlto' 'docbook-xsl') -options=(libtool) +options=('libtool') source=("$url/releases/download/$pkgver/$_pkgname-$pkgver.tar.bz2" 'consolekit.tmpfiles.conf' - '75-consolekit.rules' - 'consolekit.logrotate' - '01-org.freedesktop.ModemManager1.rules' - '01-org.freedesktop.NetworkManager.settings.modify.system.rules') -sha256sums=('102aa07e0960e56740e235bba06a546c8e0e88f47546ef252ecda917935af41f' + '25-consolekit.rules' + 'consolekit.pamd') +sha256sums=('b3e9554472f1a431576c317536d93ba1ef292916ea8447667deee0b555980e2e' '778552dc12b3c235bde200e476d4262da0c135f3f6f8b3e975a87881d1f154d1' 'c5159d9fe8fdd52ad0d6a84af7ba00bac09edaae965896ab0d099a4df1c5ea6b' - '79735ddd37b8ce6216c78542c2a4e32692dce757c86ecd5771ea8a895a1e8e4d' - 'b8c47eb6de2ffbcd533514ecbc660842e072d8ba2bbe601608038ef6bc18dd17' - '3d0b6f30de1c91a95429af4fed99e41c8e8db55b45b2f3a17974c5be36c16475') + 'f7b88e87f447e2d37c12886f57d932c385f19a8fef238e0f1de7a1746d8be69e') + +prepare(){ + cd $srcdir/$_pkgname-$pkgver +} build(){ - cd "$srcdir/$_pkgname-$pkgver" + cd $srcdir/$_pkgname-$pkgver + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/usr/bin \ + --with-rundir=/run \ --libexecdir=/usr/lib/ConsoleKit \ --localstatedir=/var \ --enable-polkit \ @@ -41,7 +43,6 @@ build(){ --enable-udev-acl \ --enable-docbook-docs \ --with-dbus-services=/usr/share/dbus-1/services \ - --with-logrotate-dir=/etc/logrotate.d \ --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \ --with-pam-module-dir=/usr/lib/security \ --without-systemdsystemunitdir @@ -50,22 +51,16 @@ build(){ } package() { - cd "$srcdir/$_pkgname-$pkgver" + cd $srcdir/$_pkgname-$pkgver make DESTDIR="$pkgdir" install - #install -D -m644 data/consolekit.logrotate "$pkgdir"/etc/logrotate.d/consolekit - install -D -m644 "$srcdir"/consolekit.logrotate "$pkgdir"/etc/logrotate.d/consolekit - install -D -m644 data/90-consolekit "$pkgdir"/etc/X11/xinit/xinitrc.d/90-consolekit.sh - chmod +x "$pkgdir"/etc/X11/xinit/xinitrc.d/90-consolekit.sh - - install -D -m644 "$srcdir"/consolekit.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/consolekit.conf + install -Dm644 "$srcdir"/consolekit.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/consolekit.conf - rm -rf "${pkgdir}"/var/run + rm -rf "${pkgdir}"/run - install -d -m700 $pkgdir/etc/polkit-1/rules.d/ - install -D -m644 ${srcdir}/75-consolekit.rules $pkgdir/etc/polkit-1/rules.d/25-consolekit.rules - install -D -m644 ${srcdir}/01-org.freedesktop.ModemManager1.rules $pkgdir/etc/polkit-1/rules.d/ - install -D -m644 ${srcdir}/01-org.freedesktop.NetworkManager.settings.modify.system.rules $pkgdir/etc/polkit-1/rules.d/ + install -dm 700 -o polkitd "${pkgdir}"/usr/share/polkit-1/rules.d + install -m 644 ${srcdir}/25-consolekit.rules $pkgdir/usr/share/polkit-1/rules.d/75-consolekit.rules - chown 102 $pkgdir/etc/polkit-1/rules.d + install -dm755 $pkgdir/etc/pam.d/ + install -Dm755 ${srcdir}/consolekit.pamd $pkgdir/etc/pam.d/consolekit } |