summaryrefslogtreecommitdiff
path: root/community/libpqxx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libpqxx/PKGBUILD')
-rw-r--r--community/libpqxx/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/libpqxx/PKGBUILD b/community/libpqxx/PKGBUILD
index 8dc2a6d0c..c855098e1 100644
--- a/community/libpqxx/PKGBUILD
+++ b/community/libpqxx/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 99876 2013-10-31 02:13:43Z allan $
+# $Id: PKGBUILD 100215 2013-11-01 21:20:51Z spupykin $
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=libpqxx
pkgver=4.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="C++ client API for PostgreSQL"
arch=('i686' 'x86_64')
license=('custom')
@@ -18,6 +18,10 @@ build() {
sed -i 's|python|python2|' tools/splitconfig
./configure --prefix=/usr --enable-shared
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}