# $Id: PKGBUILD 42095 2009-06-11 07:15:09Z jgc $ # Maintainer: Jan de Groot pkgname=libgksu pkgver=2.0.8 pkgrel=1 pkgdesc="gksu authorization library" arch=(i686 x86_64) url="http://www.nongnu.org/gksu/index.html" license=(GPL) depends=('gnome-keyring>=2.26.0' 'libgtop>=2.26.0' 'libglade>=2.6.4' 'startup-notification>=0.9') makedepends=('gtk-doc' 'pkgconfig' 'intltool') options=('!libtool' '!emptydirs') install=libgksu.install source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz) md5sums=('bb86d22c8eba9ef6571030218338ef1f') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static || return 1 make || return 1 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 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 || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }