Date: Tuesday, December 27, 2022 @ 12:23:29
Author: felixonmars
Revision: 464886
archrelease: copy trunk to testing-x86_64
Added:
net-tools/repos/testing-x86_64/
net-tools/repos/testing-x86_64/PKGBUILD
(from rev 464885, net-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: net-tools/repos/testing-x86_64/PKGBUILD (from rev 464885,
net-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-12-27 12:23:29 UTC (rev 464886)
@@ -0,0 +1,31 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <[email protected]>
+
+pkgname=net-tools
+pkgver=2.10
+pkgrel=2
+pkgdesc="Configuration tools for Linux networking"
+arch=('x86_64')
+license=('GPL2')
+url="http://net-tools.sourceforge.net/"
+depends=('glibc')
+source=("https://downloads.sourceforge.net/project/net-tools/$pkgname-$pkgver.tar.xz")
+options=(!makeflags)
+sha256sums=('b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export BINDIR='/usr/bin' SBINDIR='/usr/bin'
+ yes "" | make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/usr/bin/{nis,yp}domainname
+ # hostname is provided by inetutils
+ rm "${pkgdir}"/usr/bin/{hostname,dnsdomainname,domainname}
+ rm -r "${pkgdir}"/usr/share/man/man1
+}