summaryrefslogtreecommitdiff
path: root/extra/raptor/PKGBUILD
blob: d833e40c8b3ffba9253cd2cadb1f563c633f7e1c (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 194462 2013-09-16 16:36:19Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=raptor
pkgver=2.0.10
pkgrel=2
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
arch=('i686' 'x86_64')
url="http://librdf.org/raptor"
depends=('curl' 'libxslt' 'icu')
license=('LGPL')
options=('!libtool')
source=("http://librdf.org/dist/source/raptor2-$pkgver.tar.gz")

build() {
  cd "${srcdir}"/raptor2-${pkgver}

  ./configure --prefix=/usr \
    --disable-static \
    --with-yajl=no \
    --with-icu-config=/usr/bin/icu-config
  make
}

#check() {
#	make -C "raptor2-$pkgver" check // currently does not work
#}

package() {
  cd "${srcdir}"/raptor2-${pkgver}
  make prefix="${pkgdir}"/usr install
}
md5sums=('d9b0314eb835551adb48af037dcfd46e')