wok diff nethack/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | afae00265386 |
children | 1e09c4c56491 |
line diff
1.1 --- a/nethack/receipt Tue Feb 08 16:59:06 2022 +0000 1.2 +++ b/nethack/receipt Fri May 20 18:11:13 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.