updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / pljava / PKGBUILD
bloba9050b68fe8a0155a7c0ba01e0da5b9f8ef3d8a3
1 # Contributor: Ali H. Caliskan <ali.h.caliskan//gmail.com>
3 _filename=1598/pljava-i686-pc-linux-gnu-pg8.3-1.4.0.tar.gz
4 pkgname=pljava
5 pkgver=1.4.0
6 pkgrel=1
7 pkgdesc="A free add-on module that brings standard JDBC interface to PostgreSQL"
8 arch=('i686' 'x86_64')
9 url=("http://pgfoundry.org/projects/pljava")
10 license=('BSD')
11 depends=('java-runtime' 'java-environment' 'postgresql')
12 [ "$CARCH" = "x86_64" ] && _filename=1591/pljava-x86_64-unknown-linux-gnu-pg8.3-1.4.0.tar.gz
13 source=("http://pgfoundry.org/frs/download.php/$_filename")
14 md5sums=('f1f98a8b6b0b5ec3ff36248f7376740d')
15 [ "$CARCH" = "x86_64" ] && md5sums[0]='6b7730f893f1a3e842a8b931c75965fb'
17 build() {
18         cd $srcdir
19         mkdir -p $pkgdir/usr/share/pljava
20         cp *.jar *.sql docs.tar pljava.so $pkgdir/usr/share/pljava