From f31f923980158d06ef4febf2f77d1078e1ca2aa0 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Fri, 28 May 2021 00:11:06 -0700 Subject: [PATCH] tcping: update to 1.3.6 Also update homepage and license. --- srcpkgs/tcping/template | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/srcpkgs/tcping/template b/srcpkgs/tcping/template index 7e67453d567c..80c06227e345 100644 --- a/srcpkgs/tcping/template +++ b/srcpkgs/tcping/template @@ -1,19 +1,23 @@ # Template file for 'tcping' pkgname=tcping -version=1.3.5 -revision=2 +version=1.3.6 +revision=1 build_style=gnu-makefile short_desc="Ping over a tcp connection" maintainer="Enno Boland " -license="LGPL-2" -homepage="http://www.linuxco.de/tcping/tcping.html" -distfiles="http://pkgs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$version.tar.gz/f9dd03c730db6999ca8beca479f078e3/$pkgname-$version.tar.gz" -checksum=1ad52e904094d12b225ac4a0bc75297555e931c11a1501445faa548ff5ecdbd0 +license="MIT" +homepage="https://github.com/mkirchner/tcping" +distfiles="https://github.com/mkirchner/tcping/archive/refs/tags/${version}.tar.gz" +checksum=a731f0e48ff931d7b2a0e896e4db40867043740fe901dd225780f2164fdbdcf3 do_configure() { - sed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile + vsed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile } do_install() { vbin tcping } + +post_install() { + vlicense LICENSE +}