archrelease: copy trunk to staging-x86_64
[arch-packages.git] / libpqxx / trunk / PKGBUILD
blobcadf7198cb1ad743c5b9980096f0de8ad95d73e0
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
4 pkgname=libpqxx
5 pkgver=7.6.0
6 pkgrel=1
7 pkgdesc='C++ client API for PostgreSQL'
8 url='http://pqxx.org/development/libpqxx/'
9 arch=('x86_64')
10 license=('custom')
11 depends=('postgresql-libs>=9.1')
12 makedepends=('python' 'xmlto' 'doxygen')
13 provides=('libpqxx.so')
14 source=(https://github.com/jtv/libpqxx/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 sha256sums=('8194ce4eff3fee5325963ccc28d3542cfaa54ba1400833d0df6948de3573c118')
16 b2sums=('61e974e3c13c8c4ba958b1b20a63e3cb142bc02b6d527da99fe5ad892a3479adc326e523258051fbd1a453e505f7944267851ff4333fb6300204780ffdbfe6e7')
18 build() {
19   cd ${pkgname}-${pkgver}
20   ./configure \
21     --prefix=/usr \
22     --enable-shared
23   make
26 package() {
27   cd ${pkgname}-${pkgver}
28   make prefix="${pkgdir}/usr" install
29   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
33 # vim: ts=2 sw=2 et: