diff options
author | Brian Bidulock | 2014-07-05 22:20:02 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 15:33:33 -0600 |
commit | 7b6498d020375c49711a8cfb14ca07afae82143b (patch) | |
tree | 407f75e58f1412a28e73aafe3ea08c9d07409863 | |
parent | 3bc83ef4aa0f8af83c5e477ad6cc75a35da7b2e6 (diff) | |
download | aur-7b6498d020375c49711a8cfb14ca07afae82143b.tar.gz |
version 1:0.112.r16.ga68f5df-1
-rw-r--r-- | .AURINFO | 26 | ||||
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 52 |
3 files changed, 59 insertions, 30 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..ad01c7f62c7a --- /dev/null +++ b/.AURINFO @@ -0,0 +1,26 @@ +pkgbase = polkit-git + pkgdesc = Application development toolkit for controlling system-wide privileges + pkgver = 0.112.r16.ga68f5df + pkgrel = 1 + epoch = 1 + url = http://www.freedesktop.org/wiki/Software/polkit + install = polkit.install + arch = i686 + arch = x86_64 + license = LGPL + makedepends = intltool + makedepends = gtk-doc + makedepends = gobject-introspection + makedepends = git + depends = glib2 + depends = pam + depends = expat + depends = systemd + depends = js17 + provides = polkit + conflicts = polkit + source = polkit-git::git+http://anongit.freedesktop.org/git/polkit.git + source = polkit.pam + +pkgname = polkit-git + @@ -1,8 +1,9 @@ pkgbase = polkit-git pkgdesc = Application development toolkit for controlling system-wide privileges - pkgver = 20120725 + pkgver = 0.112.r16.ga68f5df pkgrel = 1 - url = http://www.freedesktop.org/wiki/Software/PolicyKit + epoch = 1 + url = http://www.freedesktop.org/wiki/Software/polkit install = polkit.install arch = i686 arch = x86_64 @@ -14,11 +15,13 @@ pkgbase = polkit-git depends = glib2 depends = pam depends = expat - depends = js + depends = systemd + depends = js17 provides = polkit conflicts = polkit - replaces = policykit + source = polkit-git::git+http://anongit.freedesktop.org/git/polkit.git source = polkit.pam + md5sums = SKIP md5sums = 6564f95878297b954f0572bc1610dd15 pkgname = polkit-git @@ -1,47 +1,47 @@ -# Maintainer: Aline Freitas <aline@alinefreitas.com.br> +# $Id: PKGBUILD 210524 2014-04-14 20:07:24Z jgc $ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Aline Freitas <aline@alinefreitas.com.br> pkgname=polkit-git -pkgver=20120725 +pkgver=0.112.r16.ga68f5df pkgrel=1 +epoch=1 pkgdesc="Application development toolkit for controlling system-wide privileges" arch=(i686 x86_64) -license=('LGPL') -url="http://www.freedesktop.org/wiki/Software/PolicyKit" -depends=('glib2' 'pam' 'expat' 'js') -makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'git') -replaces=('policykit') +license=(LGPL) +url="http://www.freedesktop.org/wiki/Software/polkit" +depends=(glib2 pam expat systemd js17) +makedepends=(intltool gtk-doc gobject-introspection git) +install=polkit.install provides=('polkit') conflicts=('polkit') -source=('polkit.pam') -md5sums=('6564f95878297b954f0572bc1610dd15') -install=polkit.install +source=($pkgname::git+http://anongit.freedesktop.org/git/polkit.git + polkit.pam) -_gitroot=('http://anongit.freedesktop.org/git/polkit.git') -_gitname=('polkit') +pkgver() { + cd $pkgname + git describe --tags --long|sed -r 's,([^-]*-g),r\1,;s,-,.,g' +} build() { - cd ${srcdir} - msg "Connecting to GIT server...." + cd $pkgname - if [ -d ${_gitname} ]; then - cd ${_gitname} && git pull origin - msg "The local files are updated." - else - git clone ${_gitroot} ${_gitname} - fi - - msg "GIT checkout done or server timeout." - - cd ${srcdir}/${_gitname} ./autogen.sh --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ - --disable-static --enable-gtk-doc + --enable-libsystemd-login=yes --disable-static \ + --enable-gtk-doc --with-mozjs=mozjs-17.0 make } package() { - cd ${srcdir}/${_gitname} + cd $pkgname make DESTDIR="$pkgdir" install + chown 102 "$pkgdir/etc/polkit-1/rules.d" + chown 102 "$pkgdir/usr/share/polkit-1/rules.d" + install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1" } +md5sums=('SKIP' + '6564f95878297b954f0572bc1610dd15') |