1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
7 pkgdesc="Public client interface library for NIS(YP)"
9 url="https://github.com/thkukuk/libnsl"
11 depends=(glibc libtirpc)
13 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
14 sha512sums=('86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935')
15 b2sums=('e16bba0d64afa3c1473be831fa9fa743e88323091a4ee62436383169d282b1ad6deab3ff1f9462828c88e443a4b9b913ac18b36c68664593a6a80dae25988b7d')
24 ./configure --prefix=/usr --disable-static
29 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
30 install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README} -t "$pkgdir/usr/share/doc/$pkgname/"