wok diff nethack/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents afae00265386
children 1e09c4c56491
line diff
     1.1 --- a/nethack/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.2 +++ b/nethack/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -16,9 +16,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.9 -	sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q'
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed '/version/!d;s|.*sion ||;s|<.*||'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.