diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-02-05 11:37:35 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-02-05 11:37:35 -0500 |
commit | 7e40afc5573f1a0c931a51aa70e30d93f7b70452 (patch) | |
tree | 888f228364137703a2e12bf56d26dc086b8b85b8 /pcr/polkit-consolekit | |
parent | ad5705c96d3f18bbf990083e6e1afc0c0630a613 (diff) | |
download | abslibre-7e40afc5573f1a0c931a51aa70e30d93f7b70452.tar.gz abslibre-7e40afc5573f1a0c931a51aa70e30d93f7b70452.tar.bz2 abslibre-7e40afc5573f1a0c931a51aa70e30d93f7b70452.zip |
polkit-consolekit-0.113-6: rebuild
Diffstat (limited to 'pcr/polkit-consolekit')
-rw-r--r-- | pcr/polkit-consolekit/PKGBUILD | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/pcr/polkit-consolekit/PKGBUILD b/pcr/polkit-consolekit/PKGBUILD index b474ea5f0..38f51bd2f 100644 --- a/pcr/polkit-consolekit/PKGBUILD +++ b/pcr/polkit-consolekit/PKGBUILD @@ -8,12 +8,12 @@ _pkgname=polkit pkgname=polkit-consolekit pkgver=0.113 -pkgrel=5 +pkgrel=6 pkgdesc="PolyciKit with ConsoleKit support for non-systemd systems" arch=('i686' 'x86_64' 'armv7h') license=('LGPL') url="http://www.freedesktop.org/wiki/Software/polkit" -depends=('glib2' 'pam' 'expat' 'js17') +depends=('glib2' 'pam' 'expat' 'js185') makedepends=('intltool' 'gtk-doc' 'gobject-introspection') provides=("polkit=$pkgver") conflicts=('polkit') @@ -23,25 +23,30 @@ source=("http://www.freedesktop.org/software/polkit/releases/$_pkgname-$pkgver.t sha256sums=('e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81') build() { - cd "$srcdir"/$_pkgname-$pkgver + cd "$srcdir"/$_pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --libexecdir=/usr/lib/polkit-1 \ - --enable-libsystemd-login=no \ - --disable-static \ - --enable-gtk-doc \ - --with-os-type=gentoo + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --libexecdir=/usr/lib/polkit-1 \ + --enable-libsystemd-login=no \ + --disable-static \ + --enable-gtk-doc \ + --with-os-type=gentoo make } +check() { + cd $_pkgname-$pkgver + make -k check || : +} + package() { - cd "$srcdir"/$_pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd "$srcdir"/$_pkgname-$pkgver + make DESTDIR="$pkgdir" install - chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d - chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d + chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d + chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d } |