diff --git a/srcpkgs/gping/template b/srcpkgs/gping/template index 18a07e7072..c3fb77d053 100644 --- a/srcpkgs/gping/template +++ b/srcpkgs/gping/template @@ -1,15 +1,17 @@ # Template file for 'gping' pkgname=gping -version=1.2.0 +version=1.2.6 revision=1 +wrksrc="${pkgname}-${pkgname}-v${version}" +build_wrksrc="gping" build_style=cargo short_desc="Ping, but with a graph" maintainer="Paper " license="MIT" homepage="https://github.com/orf/gping/" -distfiles="https://github.com/orf/gping/archive/v${version}.tar.gz" -checksum=2379d2d5c3e301140d9c65c4dcc2b99602acf511b2798f45009af4c1101a0716 +distfiles="https://github.com/orf/gping/archive/refs/tags/gping-v${version}.tar.gz" +checksum=e36d5bc02157708c803d1855be4b2a9daa27d077fffe86c58b12c746fdc04c8f post_install() { - vlicense LICENSE + vlicense ../LICENSE } diff --git a/srcpkgs/gping/update b/srcpkgs/gping/update new file mode 100644 index 0000000000..08d9ce6234 --- /dev/null +++ b/srcpkgs/gping/update @@ -0,0 +1 @@ +pattern="gping-v\K[0-9.]+(?=.tar.gz)"