summaryrefslogtreecommitdiffstats
path: root/testing/polkit-gnome/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/polkit-gnome/APKBUILD')
-rw-r--r--testing/polkit-gnome/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/polkit-gnome/APKBUILD b/testing/polkit-gnome/APKBUILD
new file mode 100644
index 000000000..0f62123d0
--- /dev/null
+++ b/testing/polkit-gnome/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=polkit-gnome
+pkgver=0.99
+pkgrel=0
+pkgdesc="PolicyKit integration for the GNOME desktop"
+url="http://www.freedesktop.org/wiki/Software/PolicyKit"
+arch="all"
+license="LGPL"
+depends=""
+makedepends="polkit-dev gtk+-dev gobject-introspection"
+subpackages="$pkgname-dev"
+source="http://hal.freedesktop.org/releases/polkit-gnome-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ sed -i -e 's/OnlyShowIn=GNOME/NotShowIn=KDE/' \
+ src/polkit-gnome-authentication-agent-1.desktop.in.in
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/polkit-gnome \
+ --disable-static \
+ --disable-introspection \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="f1a2565083266bc8c05c60aa7d8a0f6a polkit-gnome-0.99.tar.bz2"