#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=libnsl pkgver=2.0.0 pkgrel=03 pkgdesc="Public client interface library for NIS(YP)" url="https://github.com/thkukuk/libnsl" depends=(glibc libtirpc) provides=(libnsl.so) #options=(debug) source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz) prepare() { cd "$pkgname-$pkgver" autoreconf -fiv } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --disable-static make } package() { make DESTDIR="$pkgdir" install -C $pkgname-$pkgver install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('LGPL2.1') sha256sums=(eb37be57c1cf650b3a8a4fc7cd66c8b3dfc06215b41956a16325a9388171bc40) # libnsl-2.0.0.tar.gz ## ab77685a42cbd1676f6a15c3c00ca9ad9f49c55b00f411838553271658bdf0fc libnsl-2.0.0-03-x86_64.pkg.tar.lz