1 # $Id: PKGBUILD,v 1.11 2008/06/10 09:30:10 $
2 # Maintainer: Kravchuk Sergei <alfss.obsd@gmail.com>
3 # updated to 9.0.3 by Jonas Weber < mail at jonasw dott de >
4 pkgname=postgresql-contrib
7 pkgdesc="PostgreSQL Contrib Package"
10 url="http://www.postgresql.org/"
11 depends=('openssl>=1.0.0a' 'zlib' 'readline' 'perl' 'python' 'tcl' 'libxml2' 'libxslt' 'pam' 'postgresql>=9.0.3')
12 options=('!makeflags')
13 source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
14 md5sums=('928df8c40bb012ad10756e58b70516fb')
17 cd $startdir/src/postgresql-$pkgver || return 1
20 # (jweber:) had to remove --with-python : -lpython3.2 not found by ld
21 ./configure --prefix=/usr --with-openssl --datadir=/usr/share/postgresql \
22 --with-libxml --with-libxslt --with-pam --with-ldap --with-perl --with-tcl || return 1
27 cd $startdir/src/postgresql-$pkgver/contrib
31 make DESTDIR=${startdir}/pkg install || return 1
32 rm ${startdir}/pkg/usr/lib/postgresql/adminpack.so
33 rm ${startdir}/pkg/usr/share/postgresql/contrib/adminpack.sql
34 rm ${startdir}/pkg/usr/share/postgresql/contrib/uninstall_adminpack.sql