From 8eed59114cbcf729b65f87d3f73530f6c8363d20 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Dec 2011 23:14:59 +0000 Subject: Fri Dec 2 23:14:59 UTC 2011 --- extra/raptor1/PKGBUILD | 30 ++++++++++++++++++------------ extra/raptor1/curl.patch | 11 +++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-) create mode 100644 extra/raptor1/curl.patch (limited to 'extra/raptor1') 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 +# $Id: PKGBUILD 144014 2011-12-01 20:20:30Z andrea $ +# Maintainer: +# Contributor: Andreas Radke # Contributor: eric # Contributor: Damir Perisa 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 +-#include + #include + #endif + -- cgit v1.2.3-54-g00ecf