summaryrefslogtreecommitdiff
path: root/community/libgda3/PKGBUILD
blob: aa94f5f829a3714ef47c6ea2205159bdb1f417c6 (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
28
# $Id: PKGBUILD 61951 2012-01-11 15:22:01Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=libgda3
pkgver=3.1.5
pkgrel=11
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' {} \;
}