pkgname=libnsl pkgver=2.0.1 pkgrel=1 pkgdesc="Public client interface library for NIS(YP)" arch=('x86_64') url="https://github.com/thkukuk/libnsl" license=('LGPL-2.1-only') depends=('glibc' 'libtirpc') source=(https://github.com/thkukuk/libnsl/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(5c9e470b232a7acd3433491ac5221b4832f0c71318618dc6aa04dd05ffcd8fd9) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }