mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# $Id: PKGBUILD 42095 2009-06-11 07:15:09Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
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
|
|
}
|