diff options
Diffstat (limited to 'abs/extra/polkit-gnome/PKGBUILD')
-rw-r--r-- | abs/extra/polkit-gnome/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/extra/polkit-gnome/PKGBUILD b/abs/extra/polkit-gnome/PKGBUILD new file mode 100644 index 0000000..06c375c --- /dev/null +++ b/abs/extra/polkit-gnome/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: onestep_ua <onestep@ukr.net> + +pkgname=polkit-gnome +pkgver=0.96 +pkgrel=3 +pkgdesc="PolicyKit integration for the GNOME desktop" +arch=('i686' 'x86_64') +url="http://www.freedesktop.org/wiki/Software/PolicyKit" +license=('LGPL') +depends=('polkit>=0.96' 'gtk2>=2.18.6') +makedepends=('intltool') +replaces=('policykit-gnome') +options=(!libtool !makeflags) +source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2) +md5sums=('611cf39fba2945320fc7a9ec49087e69') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e 's/OnlyShowIn=GNOME/NotShowIn=KDE/' src/polkit-gnome-authentication-agent-1.desktop.in.in || return 1 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/polkit-gnome --disable-static --disable-introspection || return 1 + make || return 1 + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 +} |