diff options
Diffstat (limited to 'community/libpqxx/PKGBUILD')
-rw-r--r-- | community/libpqxx/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/libpqxx/PKGBUILD b/community/libpqxx/PKGBUILD new file mode 100644 index 000000000..00a6dba5d --- /dev/null +++ b/community/libpqxx/PKGBUILD @@ -0,0 +1,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" +} |