wok diff perl-html-template/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents d464571327ad
children b27d8c263cba
line diff
     1.1 --- a/perl-html-template/receipt	Sat Aug 04 13:11:27 2018 +0200
     1.2 +++ b/perl-html-template/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -13,6 +13,12 @@
     1.4  WEB_SITE="https://metacpan.org/pod/HTML::Template"
     1.5  WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {