updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / postgresql-hstore / PKGBUILD
blob6bbec58de42a93019c3a474bc69a35cfe10ea8f3
1 # Maintainer: Piotr HusiatyƄski <phusiatynski@gmail.com>
3 pkgname=postgresql-hstore
4 pkgver=8.4.4
5 pkgrel=1
6 pkgdesc="hstore contrib module for postgresql"
7 arch=('i686' 'x86_64')
8 url="http://www.postgresql.org/"
9 license=('custom')
10 depends=('postgresql')
11 options=('!makeflags')
12 source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
13 md5sums=('4bf2448ad965bca3940df648c02194df')
15 build() {
16   cd ${startdir}/src/postgresql-$pkgver
17   ./configure --prefix=/usr --with-openssl --datadir=/usr/share/postgresql
19   cd ${startdir}/src/postgresql-${pkgver}/contrib/hstore
20   make || return 1
21   make DESTDIR=${startdir}/pkg install || return 1
22   install -D -m644 ../../COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT