diff options
author | root <root@rshg054.dnsready.net> | 2011-12-17 23:14:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-17 23:14:43 +0000 |
commit | 146025aa1c838c12fa7b4873414da73816bfb6bd (patch) | |
tree | 22bcdae4c400322b756f2f4cc360de8c08b946a4 /community-staging/psqlodbc/PKGBUILD | |
parent | 492f7c22a61fdb0488000da9f66d68e11bb43918 (diff) |
Sat Dec 17 23:14:43 UTC 2011
Diffstat (limited to 'community-staging/psqlodbc/PKGBUILD')
-rw-r--r-- | community-staging/psqlodbc/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community-staging/psqlodbc/PKGBUILD b/community-staging/psqlodbc/PKGBUILD new file mode 100644 index 000000000..67de1cefe --- /dev/null +++ b/community-staging/psqlodbc/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 60691 2011-12-16 21:40:31Z spupykin $ +# Maintainer: +# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux-br.org> +# Contributor: Rick Rein <jeebusroxors@gmail.com> + +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 +} |