OCaml 4.14.0 rebuild
[arch-packages.git] / rasqal / trunk / PKGBUILD
bloba0edfe11434590fdcb94c37d0045b04cdc00cf10
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: AndyRTR <andyrtr@archlinux.org>
4 # Contributor: Lawrence Lee <valheru@facticius.net>
6 pkgname=rasqal
7 pkgver=0.9.33
8 pkgrel=5
9 epoch=1
10 pkgdesc="A library handling RDF query syntaxes, construction and execution"
11 license=(LGPL2.1)
12 url="https://librdf.org/rasqal"
13 arch=(x86_64)
14 depends=(glibc libgcrypt libgpg-error mpfr pcre)
15 makedepends=(gtk-doc raptor util-linux)
16 provides=(librasqual.so)
17 options=(debug)
18 source=(https://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc})
19 sha512sums=('05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522'
20             'SKIP')
21 b2sums=('87bca86b2f0dceb0801f5a34dae9ae1f87d8a7d0dc1e03fdf04998a0d4885ed76be2719d3e01489a5510a26715bb093a75ce194cc42f3cedff88f64161d6a2fb'
22         'SKIP')
23 validpgpkeys=('F879F0DEDA780198DD08DC6443EC92504F71955A') # Dave Beckett <dave@dajobe.org>
25 prepare() {
26   cd $pkgname-$pkgver
27   autoreconf -fiv
30 build() {
31   cd $pkgname-$pkgver
32   ./configure --prefix=/usr \
33               --disable-static \
34               --enable-release
35   make
38 check() {
39   make -k check -C $pkgname-$pkgver
42 package() {
43   depends+=(libraptor2.so libuuid.so)
45   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
46   install -vDm 644 $pkgname-$pkgver/{ChangeLog*,README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"