summaryrefslogtreecommitdiff
path: root/extra/raptor/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
commit75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 (patch)
tree9bd2c1fbe4c9a0fd5ede1a5667137113d48d2c69 /extra/raptor/PKGBUILD
parenta135f8563fea25509d9a92db7c03ac3d08230a3f (diff)
Thu Jul 7 04:59:01 UTC 2011
Diffstat (limited to 'extra/raptor/PKGBUILD')
-rw-r--r--extra/raptor/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/extra/raptor/PKGBUILD b/extra/raptor/PKGBUILD
index 684da1bf2..58b3a41d0 100644
--- a/extra/raptor/PKGBUILD
+++ b/extra/raptor/PKGBUILD
@@ -1,22 +1,31 @@
-# $Id: PKGBUILD 126317 2011-06-04 16:06:41Z andyrtr $
+# $Id: PKGBUILD 130397 2011-07-06 11:19:50Z andrea $
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=raptor
pkgver=2.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
arch=('i686' 'x86_64')
url="http://librdf.org/raptor"
-depends=('libxml2>=2.7.8' 'curl>=7.21.2' 'zlib>=1.2.5' 'libxslt>=1.1.26')
+depends=('libxml2>=2.7.8' 'curl>=7.21.7' 'zlib>=1.2.5' 'libxslt>=1.1.26')
license=('LGPL')
options=('!libtool')
-source=(http://librdf.org/dist/source/raptor2-$pkgver.tar.gz)
-md5sums=('46eff4b20f8752d1146a3e0c8b2168dd')
+source=("http://librdf.org/dist/source/raptor2-$pkgver.tar.gz"
+ 'fix-soprano-bug.patch')
+md5sums=('46eff4b20f8752d1146a3e0c8b2168dd'
+ 'fd63150d1e9f83bb59af0d86c373c8fa')
build() {
cd ${srcdir}/raptor2-${pkgver}
+
+ # see http://bugs.librdf.org/mantis/view.php?id=451
+ patch -p1 -i "${srcdir}"/fix-soprano-bug.patch
+
+ # fix build with curl >= 7.21.2
+ sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
+
./configure --prefix=/usr --disable-static
make
}