summaryrefslogtreecommitdiff
path: root/extra/raptor1
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-02 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-12-02 23:14:59 +0000
commit8eed59114cbcf729b65f87d3f73530f6c8363d20 (patch)
treedb7d4f28ed86bbb2681253cb8bae851030d111e3 /extra/raptor1
parent9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff)
Fri Dec 2 23:14:59 UTC 2011
Diffstat (limited to 'extra/raptor1')
-rw-r--r--extra/raptor1/PKGBUILD30
-rw-r--r--extra/raptor1/curl.patch11
2 files changed, 29 insertions, 12 deletions
diff --git a/extra/raptor1/PKGBUILD b/extra/raptor1/PKGBUILD
index c50886bde..2f579874c 100644
--- a/extra/raptor1/PKGBUILD
+++ b/extra/raptor1/PKGBUILD
@@ -1,30 +1,36 @@
-# $Id: PKGBUILD 110599 2011-02-20 15:52:07Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# $Id: PKGBUILD 144014 2011-12-01 20:20:30Z andrea $
+# Maintainer:
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=raptor1
pkgver=1.4.21
-pkgrel=3
+pkgrel=4
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples - old V1 api for compatibility"
arch=('i686' 'x86_64')
url="http://librdf.org/raptor"
-depends=('libxml2' 'curl' 'zlib' 'libxslt')
+depends=('curl' 'libxslt')
license=('LGPL')
options=('!libtool' '!docs')
-source=(http://librdf.org/dist/source/raptor-$pkgver.tar.gz)
-md5sums=('992061488af7a9e2d933df6b694bb876')
+source=("http://librdf.org/dist/source/raptor-$pkgver.tar.gz"
+ 'curl.patch')
+md5sums=('992061488af7a9e2d933df6b694bb876'
+ '8fe28761645d6a6607b25c94f9ada964')
build() {
- cd ${srcdir}/raptor-${pkgver}
- ./configure --prefix=/usr --disable-static
+ cd "${srcdir}"/raptor-${pkgver}
+ patch -p1 -i "${srcdir}"/curl.patch
+
+ ./configure --prefix=/usr \
+ --disable-static
make
}
package() {
- cd ${srcdir}/raptor-${pkgver}
- make prefix=${pkgdir}/usr install
+ cd "${srcdir}/raptor-${pkgver}"
+ make prefix="${pkgdir}"/usr install
- mv ${pkgdir}/usr/bin/rapper ${pkgdir}/usr/bin/rapperV1
- rm -f ${pkgdir}/usr/share/man/man1/rapper.1
+ mv "${pkgdir}"/usr/bin/rapper "${pkgdir}"/usr/bin/rapperV1
+ rm -f "${pkgdir}"/usr/share/man/man1/rapper.1
}
diff --git a/extra/raptor1/curl.patch b/extra/raptor1/curl.patch
new file mode 100644
index 000000000..590140536
--- /dev/null
+++ b/extra/raptor1/curl.patch
@@ -0,0 +1,11 @@
+diff -up raptor-1.4.21/src/raptor_internal.h.curl raptor-1.4.21/src/raptor_internal.h
+--- raptor-1.4.21/src/raptor_internal.h.curl 2010-01-29 17:54:42.000000000 -0600
++++ raptor-1.4.21/src/raptor_internal.h 2011-07-31 11:02:44.182465296 -0500
+@@ -852,7 +852,6 @@ int raptor_utf8_is_nfc(const unsigned ch
+
+ #ifdef RAPTOR_WWW_LIBCURL
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ #endif
+