blob: 84d456e0746354bfe84c353cda71de34df376de4 (
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
|
# $Id: PKGBUILD 59094 2009-11-20 06:50:18Z giovanni $
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=libpqxx
pkgver=3.1
pkgrel=1
pkgdesc="C++ client API for PostgreSQL"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://pqxx.org/development/libpqxx/"
depends=('postgresql-libs>=8.4.1')
options=('!libtool')
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz"
build-fix.patch)
md5sums=('4993a516eb88d8a51125607db30ad2ef'
'e59f5f63e1800406bf494e19cea479a4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 <$srcdir/build-fix.patch
./configure --prefix=/usr --enable-shared
make
make prefix="${pkgdir}/usr" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|