diff options
Diffstat (limited to 'community/libgda4/PKGBUILD')
-rw-r--r-- | community/libgda4/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/libgda4/PKGBUILD b/community/libgda4/PKGBUILD new file mode 100644 index 000000000..9c2580c99 --- /dev/null +++ b/community/libgda4/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 56164 2011-10-02 14:06:33Z jelle $ +# Maintainer: tobias <tobias@archlinux.org> +# Contributor: Tobias Kieslich <tobias@justdreams.de> + +pkgname=libgda4 +pkgver=4.2.9 +pkgrel=1 +pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers" +arch=(i686 x86_64) +license=('GPL') +depends=('gtksourceview2' 'libunique' 'libxslt' 'db' 'ncurses' 'libsoup' + 'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring' + 'hicolor-icon-theme' 'desktop-file-utils') +makedepends=('intltool' 'gobject-introspection' ) +options=('!libtool') +url="http://www.gnome-db.org" +install=libgda.install +source=(http://ftp.gnome.org/pub/GNOME/sources/libgda/${pkgver%.*}/libgda-${pkgver}.tar.xz) +sha256sums=('bbae913734b0bf0149b36d1b8617e343f08611c10219fa5ba24b84dfa782e814') + +build() { + cd "${srcdir}/libgda-${pkgver}" + sed -i '1s/python$/&2/' libgda-report/RML/trml*/trml*.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --with-bdb=/usr --with-bdb-libdir-name=lib \ + --disable-static \ + --disable-gtk-doc + make +} + +package() { + cd "${srcdir}/libgda-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -rf $pkgdir/usr/share/icons + rm -rf $pkgdir/usr/share/gtk-doc +} |