mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
790 B
Bash
25 lines
790 B
Bash
|
# $Id: PKGBUILD 2891 2009-09-22 16:29:29Z spupykin $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=postgresql-tsearch2
|
||
|
pkgver=8.4.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="tsearch2 for postgresql"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.postgresql.org/"
|
||
|
license=('custom')
|
||
|
depends=('postgresql')
|
||
|
options=('!makeflags')
|
||
|
source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
|
||
|
md5sums=('f2015af17bacbbfe140daf0d1067f9c9')
|
||
|
|
||
|
build() {
|
||
|
cd ${startdir}/src/postgresql-$pkgver
|
||
|
./configure --prefix=/usr --with-openssl --datadir=/usr/share/postgresql
|
||
|
|
||
|
cd ${startdir}/src/postgresql-${pkgver}/contrib/tsearch2
|
||
|
make || return 1
|
||
|
make DESTDIR=${startdir}/pkg install || return 1
|
||
|
install -D -m644 ../../COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
|
||
|
}
|