# $Id: PKGBUILD 60930 2011-12-19 18:10:47Z andrea $ # Maintainer: # Contributor: Douglas Soares de Andrade # Contributor: Rick Rein pkgname=psqlodbc pkgver=09.00.0310 pkgrel=2 pkgdesc="PostgreSQL ODBC driver" arch=('i686' 'x86_64') license=('GPL') url="http://www.postgresql.org" depends=('unixodbc' 'postgresql-libs') makedepends=('postgresql') options=('!libtool') source=(ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz fix-function-declarations.patch) md5sums=('78144d9ea6c40f0a0a0b92128e6b0e05' 'f1189f9c6ae0b5bfb5ee8423eaa4076f') build() { cd "$srcdir/$pkgname-$pkgver" # patch -p1 -i "$srcdir/fix-function-declarations.patch" ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }