[arch-commits] Commit in raptor1/trunk (PKGBUILD curl.patch)

Andrea Scarpino andrea at archlinux.org
Thu Dec 1 20:20:07 UTC 2011


    Date: Thursday, December 1, 2011 @ 15:20:07
  Author: andrea
Revision: 144013

upgpkg: raptor1 1.4.21-4

Fix build; sign package

Added:
  raptor1/trunk/curl.patch
Modified:
  raptor1/trunk/PKGBUILD

------------+
 PKGBUILD   |   28 +++++++++++++++++-----------
 curl.patch |   11 +++++++++++
 2 files changed, 28 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-01 18:34:19 UTC (rev 144012)
+++ PKGBUILD	2011-12-01 20:20:07 UTC (rev 144013)
@@ -1,30 +1,36 @@
 # $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer:
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: eric <eric at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at 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
 }

Added: curl.patch
===================================================================
--- curl.patch	                        (rev 0)
+++ curl.patch	2011-12-01 20:20:07 UTC (rev 144013)
@@ -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
+ 




More information about the arch-commits mailing list