# Contributor: # Maintainer: Fabian Affolter pkgname=uriparser pkgver=0.9.0 pkgrel=0 pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library" url="https://uriparser.github.io/" arch="all" license="BSD" depends="" makedepends="" # libcpptest is missing to run tests options="!check" subpackages="$pkgname-dev" source="https://github.com/uriparser/uriparser/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --disable-test \ --disable-doc \ --disable-static || return 1 make || return 1 } check() { cd "builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="8ad631726c59d244b945221e803dcb13daa6df6550b3de94da19745f4b4d53a5ce17dba54280273181479f2803dea4ca7b0154ac3b54ca39fc4eda2c8a03e3f7 uriparser-0.9.0.tar.bz2"