pkgname=libnfs pkgver=2.0.0 pkgrel=1 pkgdesc="client library for accessing NFS shares" arch=('x86_64') url="https://github.com/sahlberg/libnfs" license=('GPL') depends=('glibc') source=("https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz") sha512sums=('701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7') build() { cd "$pkgname-$pkgname-$pkgver" autoreconf -vif ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgname-$pkgver" make DESTDIR="$pkgdir" install }