wok-6.x diff perl-xml-rss/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents ce28dc80d563
children efb724a8e25a
line diff
     1.1 --- a/perl-xml-rss/receipt	Wed Apr 01 07:35:41 2020 +0100
     1.2 +++ b/perl-xml-rss/receipt	Mon Nov 15 08:46:59 2021 +0000
     1.3 @@ -16,6 +16,12 @@
     1.4  	perl-datetime-format-w3cdtf perl-xml-parser"
     1.5  BUILD_DEPENDS="$DEPENDS"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/release-name/!d;s|.*-||;s|<.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {