summaryrefslogtreecommitdiff
path: root/community-testing/libgda3/PKGBUILD
blob: 07313f71329c87a0945b3c8f118b89a26989a5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 49363 2011-06-15 09:20:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=libgda3
pkgver=3.1.5
pkgrel=9
pkgdesc="data abstraction layer; with mysql, pgsql, ldap, xml, sqlite providers"
arch=('i686' 'x86_64')
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' {} \;
}