From 5844391849d69b08119f5d4f001256cd7c3dc477 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Fri, 8 Jan 2021 15:16:30 +1100 Subject: [PATCH] net-tools: update to 2.10 --- srcpkgs/net-tools/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/net-tools/template b/srcpkgs/net-tools/template index 384feba77fb..bb054036162 100644 --- a/srcpkgs/net-tools/template +++ b/srcpkgs/net-tools/template @@ -1,15 +1,13 @@ # Template file for 'net-tools' pkgname=net-tools -version=1.60.20181103git +version=2.10 revision=1 -_githash=0eebece8c964e3cfa8a018f42b2e7e751a7009a0 -wrksrc="${pkgname}-${_githash}" short_desc="Basic networking tools" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://github.com/ecki/net-tools" -distfiles="https://github.com/ecki/net-tools/archive/${_githash}.tar.gz" -checksum=795cb4dd2618ed7ff9a48b9cb63b33780b47dfd7464c8e52ba734e6796cbab17 +distfiles="https://github.com/ecki/net-tools/archive/v${version}.tar.gz" +checksum=8e186f65f0ff304989b3dc8b0067c3a07d36ae777da60667bdd6ccb2730908d2 alternatives=" ifconfig:ifconfig:/usr/bin/${pkgname}-ifconfig @@ -40,7 +38,7 @@ do_build() { } do_install() { - make DESTDIR=${DESTDIR}/usr update + make DESTDIR=${DESTDIR}/usr install # Rename ifconfig for alternatives. mv ${DESTDIR}/usr/bin/{ifconfig,${pkgname}-ifconfig} mv ${DESTDIR}/usr/share/man/man8/{ifconfig,${pkgname}-ifconfig}.8