archrelease: copy trunk to extra-x86_64
[arch-packages.git] / net-tools / repos / core-x86_64 / PKGBUILD
blobeee1ab7558dd695e5607fcd68cb4f35293ff56dc
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=net-tools
5 pkgver=2.10
6 pkgrel=2
7 pkgdesc="Configuration tools for Linux networking"
8 arch=('x86_64')
9 license=('GPL2')
10 url="http://net-tools.sourceforge.net/"
11 depends=('glibc')
12 source=("https://downloads.sourceforge.net/project/net-tools/$pkgname-$pkgver.tar.xz")
13 options=(!makeflags)
14 sha256sums=('b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69')
16 build() {
17   cd ${pkgname}-${pkgver}
18   export BINDIR='/usr/bin' SBINDIR='/usr/bin'
19   yes "" | make
22 package() {
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