summaryrefslogtreecommitdiff
path: root/community/libpqxx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libpqxx/PKGBUILD')
-rw-r--r--community/libpqxx/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/libpqxx/PKGBUILD b/community/libpqxx/PKGBUILD
new file mode 100644
index 000000000..24d52cc41
--- /dev/null
+++ b/community/libpqxx/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 59094 2009-11-20 06:50:18Z giovanni $
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=libpqxx
+pkgver=3.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')
+options=('!libtool')
+source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('4993a516eb88d8a51125607db30ad2ef')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-shared
+ make || return 1
+ make prefix="${pkgdir}/usr" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}