sbcl 2.3.0 rebuild
[arch-packages.git] / libnsl / trunk / PKGBUILD
blob80b569acfe32a0d0511d387a0200977991e8a39e
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=2
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 options=(debug)
14 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15 sha512sums=('86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935')
16 b2sums=('e16bba0d64afa3c1473be831fa9fa743e88323091a4ee62436383169d282b1ad6deab3ff1f9462828c88e443a4b9b913ac18b36c68664593a6a80dae25988b7d')
18 prepare() {
19   cd "$pkgname-$pkgver"
20   autoreconf -fiv
23 build() {
24   cd "$pkgname-$pkgver"
25   ./configure --prefix=/usr --disable-static
26   make
29 package() {
30   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
31   install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"