summaryrefslogtreecommitdiff
path: root/extra/rasqal/PKGBUILD
blob: 8a482fb92f4d7c2e770850f944a27e9efe4075bd (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
# $Id: PKGBUILD 142916 2011-11-18 08:48:56Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Lawrence Lee <valheru@facticius.net>

pkgname=rasqal
epoch=1
pkgver=0.9.28
pkgrel=1
pkgdesc="A free C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings"
url="http://librdf.org/rasqal"
license=('GPL' 'LGPL')
arch=('i686' 'x86_64')
depends=('raptor>=2.0.3' 'mpfr')
options=('!libtool')
source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('a3662b8d9efef9d8ef0a3c182450fba2')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
	--disable-static \
	--enable-release
  make
}

check() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make -k check || /bin/true # fails some checks - should be reported upstream
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}