summaryrefslogtreecommitdiff
path: root/extra/libgksu
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgksu')
-rw-r--r--extra/libgksu/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/libgksu/PKGBUILD b/extra/libgksu/PKGBUILD
index b4414d58a..b5d0cf67a 100644
--- a/extra/libgksu/PKGBUILD
+++ b/extra/libgksu/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 90625 2010-09-14 09:37:47Z jgc $
+# $Id: PKGBUILD 143675 2011-11-28 10:58:18Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libgksu
pkgver=2.0.12
-pkgrel=3
+pkgrel=4
pkgdesc="gksu authorization library"
arch=(i686 x86_64)
url="http://www.nongnu.org/gksu/index.html"
license=(GPL)
-depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10' 'gconf>=2.28.1')
-makedepends=('gtk-doc' 'pkgconfig' 'intltool')
+depends=('gconf' 'gtk2' 'libgnome-keyring' 'libgtop' 'startup-notification')
+makedepends=('intltool' 'gtk-doc')
options=('!libtool' '!emptydirs')
install=libgksu.install
source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz
@@ -21,8 +21,12 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/libgksu-2.0.12-revert-forkpty.patch"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ --localstatedir=/var --disable-static --disable-schemas-install
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
rm -f ${pkgdir}/usr/lib/*.a
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"