archrelease: copy trunk to staging-x86_64
[arch-packages.git] / libnsl / trunk / PKGBUILD
blob288eea0ad06594935bf002335bf242402933f2e7
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
4 pkgname=libnsl
5 pkgver=2.0.0
6 pkgrel=3
7 pkgdesc="Public client interface library for NIS(YP)"
8 arch=(x86_64)
9 url="https://github.com/thkukuk/libnsl"
10 license=(LGPL2.1)
11 depends=(glibc libtirpc)
12 provides=(libnsl.so)
13 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
14 sha512sums=('86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935')
15 b2sums=('e16bba0d64afa3c1473be831fa9fa743e88323091a4ee62436383169d282b1ad6deab3ff1f9462828c88e443a4b9b913ac18b36c68664593a6a80dae25988b7d')
17 prepare() {
18   cd $pkgname-$pkgver
19   autoreconf -fiv
22 build() {
23   cd $pkgname-$pkgver
24   ./configure --prefix=/usr --disable-static
25   make
28 package() {
29   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
30   install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README} -t "$pkgdir/usr/share/doc/$pkgname/"