summaryrefslogtreecommitdiff
path: root/community/psqlodbc/PKGBUILD
blob: 1929aee36a16c112281bda653ccc6b60b91b3aac (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
29
30
31
# $Id: PKGBUILD 75081 2012-08-13 13:51:08Z spupykin $
# Maintainer:
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux-br.org>
# Contributor: Rick Rein <jeebusroxors@gmail.com>

pkgname=psqlodbc
pkgver=09.01.0100
pkgrel=1
pkgdesc="PostgreSQL ODBC driver"
arch=('i686' 'x86_64' 'mips64el')
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=('08121d9d57bb2dbab11c36c2cc8e8edb'
         '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
}