[arch-commits] Commit in net-tools/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Jan 20 22:12:51 UTC 2021
Date: Wednesday, January 20, 2021 @ 22:12:51
Author: arojas
Revision: 406487
archrelease: copy trunk to testing-x86_64
Added:
net-tools/repos/testing-x86_64/
net-tools/repos/testing-x86_64/PKGBUILD
(from rev 406486, net-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: net-tools/repos/testing-x86_64/PKGBUILD (from rev 406486, net-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-01-20 22:12:51 UTC (rev 406487)
@@ -0,0 +1,31 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=2.10
+pkgrel=1
+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)
+sha1sums=('4080baab0486dc882c3b293d5559c27251ae4268')
+
+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
+}
More information about the arch-commits
mailing list