summaryrefslogtreecommitdiff
path: root/extra/liblrdf
diff options
context:
space:
mode:
Diffstat (limited to 'extra/liblrdf')
-rw-r--r--extra/liblrdf/PKGBUILD17
-rw-r--r--extra/liblrdf/pkgconfig-raptor.patch9
2 files changed, 19 insertions, 7 deletions
diff --git a/extra/liblrdf/PKGBUILD b/extra/liblrdf/PKGBUILD
index 17236fa71..49a0fe584 100644
--- a/extra/liblrdf/PKGBUILD
+++ b/extra/liblrdf/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 130976 2011-07-09 09:47:10Z andyrtr $
+# $Id: PKGBUILD 139617 2011-10-03 19:42:49Z jgc $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=liblrdf
pkgver=0.4.0
-pkgrel=8
+pkgrel=9
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/lrdf" #"http://sourceforge.net/projects/lrdf"
@@ -13,16 +13,19 @@ license=('GPL')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/lrdf/${pkgname}-${pkgver}.tar.gz
md5.patch
- raptor2.diff)
+ raptor2.diff
+ pkgconfig-raptor.patch)
groups=('ladspa-plugins')
md5sums=('327a5674f671c4b360c6353800226877'
- 'a6d231d052dc188cbc4c1039cf3a2003'
- '80e938469da06a178e03107ca5b41e55')
+ 'a6d231d052dc188cbc4c1039cf3a2003'
+ '80e938469da06a178e03107ca5b41e55'
+ '982ae1bd4b39c2fb5cba108fbcbfbad1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/md5.patch
- patch -Np0 -i ${srcdir}/raptor2.diff
+ patch -Np1 -i "${srcdir}/md5.patch"
+ patch -Np0 -i "${srcdir}/raptor2.diff"
+ patch -Np1 -i "${srcdir}/pkgconfig-raptor.patch"
autoreconf -vfi
./configure --prefix=/usr
make
diff --git a/extra/liblrdf/pkgconfig-raptor.patch b/extra/liblrdf/pkgconfig-raptor.patch
new file mode 100644
index 000000000..c68f1f1b5
--- /dev/null
+++ b/extra/liblrdf/pkgconfig-raptor.patch
@@ -0,0 +1,9 @@
+--- liblrdf-0.4.0/lrdf.pc.in.orig 2011-10-03 19:28:16.702773254 +0000
++++ liblrdf-0.4.0/lrdf.pc.in 2011-10-03 19:28:43.003017477 +0000
+@@ -7,4 +7,5 @@
+ Version: @VERSION@
+ Description: liblrdf, a lightweight RDF library with extensions for LADSPA
+ Libs: -L${libdir} -llrdf
+-Cflags: -I${includedir}
++Libs.private: @RAPTOR_LIBS@
++Cflags: @RAPTOR_CFLAGS@ -I${includedir}