diff options
Diffstat (limited to 'abs/extra/libgksu/PKGBUILD')
-rw-r--r-- | abs/extra/libgksu/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/abs/extra/libgksu/PKGBUILD b/abs/extra/libgksu/PKGBUILD index 5f18266..b4414d5 100644 --- a/abs/extra/libgksu/PKGBUILD +++ b/abs/extra/libgksu/PKGBUILD @@ -1,29 +1,31 @@ -# $Id: PKGBUILD 5570 2008-07-18 21:03:14Z jgc $ +# $Id: PKGBUILD 90625 2010-09-14 09:37:47Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libgksu -pkgver=2.0.7 -pkgrel=1 +pkgver=2.0.12 +pkgrel=3 pkgdesc="gksu authorization library" arch=(i686 x86_64) url="http://www.nongnu.org/gksu/index.html" license=(GPL) -depends=('gnome-keyring>=2.22.3' 'libgtop>=2.22.3' - 'libglade>=2.6.2' 'startup-notification>=0.9') -makedepends=('gtk-doc' 'pkgconfig') -options=('!libtool') +depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10' 'gconf>=2.28.1') +makedepends=('gtk-doc' 'pkgconfig' 'intltool') +options=('!libtool' '!emptydirs') install=libgksu.install -source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz) -md5sums=('2f2c6a21281370942ea2855553d3ad89') +source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz + libgksu-2.0.12-revert-forkpty.patch) +md5sums=('c7154c8806f791c10e7626ff123049d3' + 'aebbe57e5286c654e27cf714cf3b704a') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/libgksu-2.0.12-revert-forkpty.patch" ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static || return 1 - make || return 1 - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install || return 1 - rm -f ${startdir}/pkg/usr/lib/*.a - install -m755 -d ${startdir}/pkg/usr/share/gconf/schemas - gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1 - rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas + --localstatedir=/var --disable-static + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + rm -f ${pkgdir}/usr/lib/*.a + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgksu ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas } |