blob: 2200c4ea7d0e52db3bdced5923b33eafa7a4ce74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $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=2
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
arch=('i686' 'x86_64' 'mips64el')
url="http://librdf.org/raptor"
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"
'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
}
package() {
cd ${srcdir}/raptor2-${pkgver}
make prefix=${pkgdir}/usr install
}
|