# Contributor: # Maintainer: Fabian Affolter pkgname=uriparser pkgver=0.8.4 pkgrel=0 pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library" url="http://uriparser.sourceforge.net/" arch="all" license="BSD" depends= depends_dev= makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.bz2" _builddir="${srcdir}"/"$pkgname-${pkgver}" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --prefix=/usr \ --disable-test \ --disable-doc \ --disable-static || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="9aabdc3611546f553f4af372167de6d6 uriparser-0.8.4.tar.bz2" sha256sums="ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23 uriparser-0.8.4.tar.bz2" sha512sums="b6238c6495eaa9f7178269d66dbea05a39c51c27137d8ebf39cd02d1c3fa96aa0d1608f5ccb36bf7b454f3238830dd46d7de8299b608f185b2520fc2c955aa1a uriparser-0.8.4.tar.bz2"