Date: Tuesday, May 19, 2020 @ 08:34:13 Author: felixonmars Revision: 386374
archrelease: copy trunk to staging-x86_64 Added: libpqxx/repos/staging-x86_64/ libpqxx/repos/staging-x86_64/PKGBUILD (from rev 386373, libpqxx/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: libpqxx/repos/staging-x86_64/PKGBUILD (from rev 386373, libpqxx/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-05-19 08:34:13 UTC (rev 386374) @@ -0,0 +1,38 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> + +pkgname=libpqxx +pkgver=6.4.5 +pkgrel=2 +pkgdesc='C++ client API for PostgreSQL' +url='http://pqxx.org/development/libpqxx/' +arch=('x86_64') +license=('custom') +depends=('postgresql-libs>=9.1') +makedepends=('python2' 'xmlto' 'doxygen') +provides=('libpqxx.so') +source=(https://github.com/jtv/libpqxx/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('86921fdb0fe54495a79d5af2c96f2c771098c31e9b352d0834230fd2799ad362') +sha512sums=('b6f79c4af93876eaf859626c2deae3b23bd4fa1a438390bc01513ccc48b90565d59588f6977e7475bb7b8dbeb8b1c8ef2a4737d8eb4d15682531fbf78590ed5e') + +prepare() { + cd ${pkgname}-${pkgver} + sed 's|python|python2|' -i tools/splitconfig +} + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --enable-shared + make +} + +package() { + cd ${pkgname}-${pkgver} + make prefix="${pkgdir}/usr" install + install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: