pkgname=libnfs pkgver=1.9.7 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=('0dec9a6eee61bcab5a406b6f8bd50d15ffa257bc0fae7079e25a3e0ecb1177845514c232d699c67c59a3f1a269099a46225959d413301bf4550aa37504e2f492') build() { cd "$pkgname-$pkgname-$pkgver" autoreconf -vif ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgname-$pkgver" make DESTDIR="$pkgdir" install }