diff options
-rw-r--r-- | abs/extra/libgda/PKGBUILD | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/abs/extra/libgda/PKGBUILD b/abs/extra/libgda/PKGBUILD index c4350b7..0b46cb6 100644 --- a/abs/extra/libgda/PKGBUILD +++ b/abs/extra/libgda/PKGBUILD @@ -1,23 +1,30 @@ -# $Id: PKGBUILD 36066 2009-04-19 20:31:09Z jgc $ +# $Id: PKGBUILD 99473 2010-11-14 19:52:55Z ibiru $ # 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" +pkgver=4.2.1 +pkgrel=1 +pkgdesc="data abstraction layer; with mysql, pgsql, 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') +depends=('glib2>=2.26.0' 'libxslt' 'db>=5.1.19' 'ncurses>=5.7' 'libsoup>=2.32.0' 'libmysqlclient>=5.1.51' 'postgresql-libs>=9.0.1') +makedepends=('intltool') 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') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/4.2/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('d485d24fb19bd95faad196c8ed22b2cb8f9e9275d907f880a3f8f079f6bf40f7') 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 + sed -i -e 's/python/python2/' libgda-report/RML/trml*/trml*.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --with-bdb=/usr --with-bdb-libdir-name=lib \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |