From f7b985d6ab2ae0047a04433189abe114cf637127 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 29 Dec 2010 11:08:34 +0000 Subject: testing/polkit-gnome: new aport PolicyKit integration for the GNOME desktop http://www.freedesktop.org/wiki/Software/PolicyKit --- testing/polkit-gnome/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/polkit-gnome/APKBUILD (limited to 'testing/polkit-gnome') diff --git a/testing/polkit-gnome/APKBUILD b/testing/polkit-gnome/APKBUILD new file mode 100644 index 0000000000..0f62123d06 --- /dev/null +++ b/testing/polkit-gnome/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa +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" -- cgit v1.2.3