summaryrefslogtreecommitdiff
path: root/extra/raptor/PKGBUILD
diff options
context:
space:
mode:
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
}