PKGBUILDs/extra/polkit/PKGBUILD

34 lines
940 B
Bash
Raw Normal View History

2015-06-14 02:25:42 +00:00
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - moved rules.d directory ownership to polkit.install
pkgname=polkit
2015-08-20 12:08:10 +00:00
pkgver=0.113
pkgrel=2
2015-06-14 02:25:42 +00:00
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)
2015-06-25 05:18:46 +00:00
makedepends=(intltool gtk-doc gobject-introspection git)
2015-06-14 02:25:42 +00:00
install=polkit.install
2015-08-20 12:08:10 +00:00
source=("http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz")
md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
2015-06-14 02:25:42 +00:00
build() {
2015-08-20 12:08:10 +00:00
cd $pkgname-$pkgver
2015-06-14 02:25:42 +00:00
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
--enable-libsystemd-login=yes --disable-static \
2015-08-20 12:08:10 +00:00
--enable-gtk-doc --with-os-type=redhat
2015-06-14 02:25:42 +00:00
make
}
package() {
2015-08-20 12:08:10 +00:00
cd $pkgname-$pkgver
2015-06-14 02:25:42 +00:00
make DESTDIR="$pkgdir" install
}