wok diff aspell-it/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 095836df71b7
children c3a6f662a1c1
line diff
     1.1 --- a/aspell-it/receipt	Thu Jan 27 12:16:00 2022 +0000
     1.2 +++ b/aspell-it/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.3 @@ -18,8 +18,9 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - $WEB_SITE 2>/dev/null | \
     1.8 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
     1.9 +	wget -O - 'https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20Aspell/' 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*/Dizionario%20italiano%20per%20Aspell/||;s|/.*||;q'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.