diff --git a/srcpkgs/testssl.sh/template b/srcpkgs/testssl.sh/template index 9365e81ef6..46518d58e2 100644 --- a/srcpkgs/testssl.sh/template +++ b/srcpkgs/testssl.sh/template @@ -1,14 +1,15 @@ # Template file for 'testssl.sh' pkgname=testssl.sh -version=2.9.5 +version=2.9.5r4 revision=1 +wrksrc="${pkgname}-${version/r/-}" depends="libressl" short_desc="Command line tool which checks a server for the support of TLS/SSL" maintainer="Enno Boland " license="GPL-2" homepage="http://testssl.sh" -distfiles="https://github.com/drwetter/testssl.sh/archive/v$version.tar.gz" -checksum=3cd2d14b9b324545ff91d63e4261113f6ff0c6e32232cf49438b9fd2f3c8de3e +distfiles="https://github.com/drwetter/testssl.sh/archive/v${version/r/-}.tar.gz" +checksum=5163f76d40acfe404d65145c498cbe8fb716bb49119e8d0773e063203cff9c03 noarch=yes do_install() { diff --git a/srcpkgs/testssl.sh/update b/srcpkgs/testssl.sh/update new file mode 100644 index 0000000000..c9f2dabe73 --- /dev/null +++ b/srcpkgs/testssl.sh/update @@ -0,0 +1,2 @@ +pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[-\d\.]+(?=\.tar\.gz")' +version=${version/r/.}