1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
7 pkgdesc="Configuration tools for Linux networking"
10 url="http://net-tools.sourceforge.net/"
12 source=("https://downloads.sourceforge.net/project/net-tools/$pkgname-$pkgver.tar.xz")
14 sha1sums=('4080baab0486dc882c3b293d5559c27251ae4268')
17 cd ${pkgname}-${pkgver}
18 export BINDIR='/usr/bin' SBINDIR='/usr/bin'
23 cd ${pkgname}-${pkgver}
24 make DESTDIR="${pkgdir}" install
26 # the following is provided by yp-tools
27 rm "${pkgdir}"/usr/bin/{nis,yp}domainname
28 # hostname is provided by inetutils
29 rm "${pkgdir}"/usr/bin/{hostname,dnsdomainname,domainname}
30 rm -r "${pkgdir}"/usr/share/man/man1