pkgname: 'net-tools' pkgver: '2.10' pkgrel: '1' pkgdesc: 'Configuration tools for Linux networking' url: 'https://net-tools.sourceforge.net/' arch: x86_64 license: - GPL2 depends: [] makedepends: - glibc - bash - gettext source: - 'https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.xz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} export BINDIR='/usr/bin' SBINDIR='/usr/bin' yes "" | make -j1 make DESTDIR=${PKGDIR} install -j1 # the following is provided by yp-tools rm ${PKGDIR}/usr/bin/{nis,yp}domainname rm ${PKGDIR}/usr/share/man/man1/{nis,yp}domainname.1 # hostname is provided by inetutils rm ${PKGDIR}/usr/bin/{hostname,dnsdomainname,domainname,ifconfig} rm -rf ${PKGDIR}/usr/share/man/man1 rm ${PKGDIR}/usr/share/man/man8/ifconfig.8 install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING package: | true