blob: 00a6dba5d51ebfa40696a7cf228639b2a331dda1 (
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
|
# $Id: PKGBUILD 83662 2013-02-04 10:17:35Z spupykin $
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=libpqxx
pkgver=4.0.1
pkgrel=1
pkgdesc="C++ client API for PostgreSQL"
arch=('i686' 'x86_64')
license=('custom')
url="http://pqxx.org/development/libpqxx/"
depends=('postgresql-libs>=8.4.1')
makedepends=('python2')
options=('!libtool')
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('6ea888b9ba85dd7cef1b182dc5f223a2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|python|python2|' tools/splitconfig
./configure --prefix=/usr --enable-shared
make
make prefix="${pkgdir}/usr" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|