summaryrefslogtreecommitdiff
path: root/extra/raptor/PKGBUILD
blob: c87ffb225cd4f13494a50f0731f005593e2331ce (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 175875 2013-01-23 00:13:12Z eric $
# 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.8
pkgrel=3
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>=50.1.2')
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=('ac60858b875aab8fa7917f21a1237aa9')