PKGBUILDs/extra/libpqxx/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
737 B
Bash

# $Id: PKGBUILD 52218 2009-09-16 20:10:20Z douglas $
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=libpqxx
pkgver=3.0.2
pkgrel=1
pkgdesc="C++ client API for PostgreSQL"
arch=('i686' 'x86_64')
license=('custom')
url="http://pqxx.org/development/libpqxx/"
depends=('gcc' 'postgresql-libs>=8.4.1')
options=('!libtool')
source=("http://pqxx.org/download/software/libpqxx/libpqxx-$pkgver.tar.gz")
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make || return 1
make prefix=$startdir/pkg/usr install
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}
md5sums=('3baa257e851b773fa1d693bbe185a418')