diff --git a/srcpkgs/xurls/template b/srcpkgs/xurls/template index 797420fe782..883f1992053 100644 --- a/srcpkgs/xurls/template +++ b/srcpkgs/xurls/template @@ -1,7 +1,7 @@ # Template file for 'xurls' pkgname=xurls -version=2.2.0 -revision=2 +version=2.4.0 +revision=1 build_style=go go_import_path="mvdan.cc/xurls/v2" go_package="${go_import_path}/cmd/xurls" @@ -9,8 +9,8 @@ short_desc="Extract urls from text" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://www.github.com/mvdan/xurls" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=795d7febcf73503bca2ac9806f12ff6b33b47c13eef2d50b81b10e241d9bdb22 +distfiles="https://github.com/mvdan/xurls/archive/refs/tags/v${version}.tar.gz" +checksum=8c9850c80eff452eeca2fe0f945a33543302dc31df66c3393ed52f6d8e921702 do_check() { go test -v