summaryrefslogtreecommitdiff
path: root/community/libpqxx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libpqxx/PKGBUILD')
-rw-r--r--community/libpqxx/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/libpqxx/PKGBUILD b/community/libpqxx/PKGBUILD
index 0ad46eb8e..84d456e07 100644
--- a/community/libpqxx/PKGBUILD
+++ b/community/libpqxx/PKGBUILD
@@ -10,13 +10,16 @@ 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')
+source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ build-fix.patch)
+md5sums=('4993a516eb88d8a51125607db30ad2ef'
+ 'e59f5f63e1800406bf494e19cea479a4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 <$srcdir/build-fix.patch
./configure --prefix=/usr --enable-shared
- make || return 1
+ make
make prefix="${pkgdir}/usr" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}