wok-6.x diff perl-datetime-format-mail/receipt @ rev 24323
updated aria2 (1.35.0 -> 1.36.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:00:40 2022 +0100 (2022-01-27) |
parents | 826c1bab582b |
children |
line diff
1.1 --- a/perl-datetime-format-mail/receipt Wed Apr 10 13:37:55 2019 +0200 1.2 +++ b/perl-datetime-format-mail/receipt Thu Jan 27 09:00:40 2022 +0100 1.3 @@ -8,12 +8,18 @@ 1.4 LICENSE="GPL2" 1.5 SOURCE="DateTime-Format-Mail" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/DateTime-Format-Mail" 1.9 WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL" 1.10 1.11 DEPENDS="perl" 1.12 BUILD_DEPENDS="perl-datetime perl-params-validate" 1.13 1.14 +current_version() 1.15 +{ 1.16 + wget -O - $WEB_SITE 2>/dev/null | \ 1.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 {