pkgname: libnsl pkgver: '2.0.1' pkgrel: '2' pkgdesc: Contains the public client interface for NIS(YP) and NIS+. url: 'https://github.com/thkukuk/libnsl' arch: x86_64 depends: [] makedepends: - libtool - rpcsvc-proto - libtirpc source: - 'https://github.com/thkukuk/libnsl/archive/v${pkgver}.tar.gz' sha256sums: - 59048b53be8d3904bf939313debf13956a881b0de79da40f7719a77bcd1e9c53 build: | cd ${pkgname}-${pkgver} autoreconf -fiv ./configure --sysconfdir=/etc \ --disable-static make make DESTDIR=${PKGDIR} install mkdir ${PKGDIR}/lib mv ${PKGDIR}/usr/lib/libnsl.so.3* \ ${PKGDIR}/lib ln -sfv ../../lib/libnsl.so.3.0.0 ${PKGDIR}/usr/lib/libnsl.so # Obsolet lib rm -f ${PKGDIR}/usr/lib/libnsl.la package: | true