blob: acce6d1be337ff7ece22fcf535ff86ed00bd3095 (
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 61119 2011-12-21 20:58:01Z andrea $
# 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' '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=('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
}
|