upgpkg: sbcl 2.2.9-1
[arch-packages.git] / net-tools / trunk / PKGBUILD
blob8892814a61b712e60649bf74fa4c6bd2bbdd05de
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
4 pkgname=net-tools
5 pkgver=2.10
6 pkgrel=1
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 sha1sums=('4080baab0486dc882c3b293d5559c27251ae4268')
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