aboutsummaryrefslogtreecommitdiffstats
path: root/main/polkit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/polkit/APKBUILD')
-rw-r--r--main/polkit/APKBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD
index c7a46533cf..0054fbecc4 100644
--- a/main/polkit/APKBUILD
+++ b/main/polkit/APKBUILD
@@ -1,30 +1,37 @@
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
-_pkgname=PolicyKit
-pkgver=0.103
-pkgrel=1
+pkgver=0.105
+pkgrel=0
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL"
depends=
-makedepends="expat-dev glib-dev eggdbus-dev intltool dbus-glib-dev autoconf
- libtool automake gtk-doc gobject-introspection-dev"
depends_dev="eggdbus-dev dbus-glib-dev"
+makedepends="$depends_dev expat-dev glib-dev gtk-doc gobject-introspection-dev
+ intltool autoconf automake libtool"
install=
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://cgit.freedesktop.org/PolicyKit/snapshot/PolicyKit-$pkgver.tar.bz2"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz
+ 0001-Bug-50145-make-netgroup-support-optional.patch
+"
-_builddir="$srcdir"/$_pkgname-$pkgver
+_builddir="$srcdir"/polkit-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ libtoolize --force && aclocal && autoconf && automake || return 1
}
build() {
cd "$_builddir"
- ./autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -32,7 +39,7 @@ build() {
--localstatedir=/var \
--disable-static \
--disable-nls \
- --disable-introspection \
+ --enable-introspection \
--with-authfw=shadow \
--with-os-type=alpine \
--disable-gtk-doc \
@@ -49,4 +56,5 @@ package() {
"$pkgdir"/usr/lib/polkit*/extensions/*.la
}
-md5sums="67f1b5d563f9c78a6c51342dafa0b020 PolicyKit-0.103.tar.bz2"
+md5sums="9c29e1b6c214f0bd6f1d4ee303dfaed9 polkit-0.105.tar.gz
+bb4e7bffa5bad89bf3033b3d866a4087 0001-Bug-50145-make-netgroup-support-optional.patch"