wok diff perl-universal-require/receipt @ rev 24184
updated perl-class-singleton (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:00:12 2021 +0100 (2021-12-31) |
parents | 1e4880cfe309 |
children | 00eba47b3047 |
line diff
1.1 --- a/perl-universal-require/receipt Thu Oct 11 17:45:57 2018 +0200 1.2 +++ b/perl-universal-require/receipt Fri Dec 31 14:00:12 2021 +0100 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl" 1.5 SOURCE="UNIVERSAL-require" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/UNIVERSAL-require" 1.9 WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL" 1.10 1.11 +current_version() 1.12 +{ 1.13 + wget -O - $WEB_SITE 2>/dev/null | \ 1.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.15 +} 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 {