# $Id: PKGBUILD 36066 2009-04-19 20:31:09Z jgc $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=libgda pkgver=4.0.2 pkgrel=4 pkgdesc="data abstraction layer; with mysql, pgsql, ldap, xml, sqlite providers" arch=(i686 x86_64) license=('GPL') depends=('glib2>=2.20.1' 'libxslt' 'db>=4.7' 'ncurses>=5.7-2') makedepends=('intltool' 'pkgconfig' 'openjdk6') options=('!libtool') url="http://www.gnome-db.org" source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/4.0/${pkgname}-${pkgver}.tar.bz2) md5sums=('cd79f6542cdd9477017b76b5f81c776f') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --disable-static --with-jni=/usr/lib/jvm/java-1.6.0-openjdk/include/ --without-java || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }