diff options
Diffstat (limited to 'community/psqlodbc/PKGBUILD')
-rw-r--r-- | community/psqlodbc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/psqlodbc/PKGBUILD b/community/psqlodbc/PKGBUILD new file mode 100644 index 000000000..176acffd9 --- /dev/null +++ b/community/psqlodbc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 14188 2010-04-02 00:06:50Z andrea $ +# Maintainer: +# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux-br.org> +# Contributor: Rick Rein <jeebusroxors@gmail.com> + +pkgname=psqlodbc +pkgver=08.04.0100 +pkgrel=2 +pkgdesc="PostgreSQL ODBC driver" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.postgresql.org" +depends=('unixodbc' 'postgresql-libs' 'libtool') +makedepends=('postgresql') +options=('!libtool') +source=(ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz + fix-function-declarations.patch) +md5sums=('2328c3e97e6a376620a5d317137515ff' + 'f1189f9c6ae0b5bfb5ee8423eaa4076f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -p1 -i "$srcdir/fix-function-declarations.patch" || return 1 + + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} |