# $Id: PKGBUILD 61111 2011-12-21 20:57:25Z andrea $ # Maintainer: Sergej Pupykin pkgname=libgda3 pkgver=3.1.5 pkgrel=10 pkgdesc="data abstraction layer; with mysql, pgsql, ldap, xml, sqlite providers" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnome-db.org/Download" license=('GPL') depends=('glib2' 'libxslt' 'popt' 'rarian' 'db' 'gnome-vfs' 'libmysqlclient' 'postgresql-libs>=8.4.1' 'libldap' 'unixodbc' 'sqlite3') makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'util-linux-ng') options=('!libtool' '!distcc') source=(http://ftp.acc.umu.se/pub/GNOME/sources/libgda/3.1/libgda-$pkgver.tar.bz2) md5sums=('eb7da5286a112e7cff3111c89fba4456') build() { cd "$srcdir/libgda-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc make } package(){ cd "$srcdir/libgda-$pkgver" make DESTDIR=$pkgdir install cd "$pkgdir" && find -name \*..so -exec rename '..so' '.a' {} \; }