summaryrefslogtreecommitdiff
path: root/extra/polkit-gnome/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/polkit-gnome/PKGBUILD')
-rw-r--r--extra/polkit-gnome/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/extra/polkit-gnome/PKGBUILD b/extra/polkit-gnome/PKGBUILD
index 2b41612e5..6f901f6c9 100644
--- a/extra/polkit-gnome/PKGBUILD
+++ b/extra/polkit-gnome/PKGBUILD
@@ -1,26 +1,33 @@
+# $Id: PKGBUILD 117304 2011-03-30 19:38:26Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: onestep_ua <onestep@ukr.net>
pkgname=polkit-gnome
-pkgver=0.99
-pkgrel=1
+pkgver=0.101
+pkgrel=2
pkgdesc="PolicyKit integration for the GNOME desktop"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
license=('LGPL')
-depends=('polkit>=0.99' 'gtk2>=2.22.0')
+depends=('polkit>=0.101' 'gtk3')
makedepends=('intltool' 'gobject-introspection')
-replaces=('policykit-gnome')
-options=(!libtool !makeflags)
-source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('f1a2565083266bc8c05c60aa7d8a0f6a')
+options=(!libtool)
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2
+ polkit-gnome-authentication-agent-1.desktop)
+md5sums=('da6aaff473ed80f8958fd6f67a59defe'
+ '5668cffbfd031452c86db8adceba79b5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i -e 's/OnlyShowIn=GNOME/NotShowIn=KDE/' src/polkit-gnome-authentication-agent-1.desktop.in.in
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-gnome \
- --disable-static --disable-introspection
+ --disable-static --with-gtk=3.0
make
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 "${srcdir}/polkit-gnome-authentication-agent-1.desktop" \
+ "${pkgdir}/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
}