mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/polkit to 0.113+29+g3272a98-1
This commit is contained in:
parent
597f4c50d1
commit
226f64dee6
1 changed files with 33 additions and 11 deletions
|
@ -2,32 +2,54 @@
|
|||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - moved rules.d directory ownership to polkit.install
|
||||
# - added rules.d directory ownership to polkit.install
|
||||
|
||||
pkgname=polkit
|
||||
pkgver=0.113
|
||||
pkgrel=4
|
||||
pkgver=0.113+29+g3272a98
|
||||
pkgrel=1
|
||||
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||
arch=(i686 x86_64)
|
||||
license=(LGPL)
|
||||
url="http://www.freedesktop.org/wiki/Software/polkit"
|
||||
depends=(glib2 pam expat systemd js17)
|
||||
makedepends=(intltool gtk-doc gobject-introspection git)
|
||||
depends=(glib2 pam expat systemd js)
|
||||
makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive)
|
||||
install=polkit.install
|
||||
source=("http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
|
||||
_commit=3272a988655c3236b55bad70e9a3af20857f384b # master
|
||||
source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed 's/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
|
||||
--enable-libsystemd-login=yes --disable-static \
|
||||
--enable-gtk-doc --with-os-type=redhat
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
check() {
|
||||
cd $pkgname
|
||||
make -k check || :
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue