wok diff lxterminal/receipt @ rev 25606
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 11:40:29 2023 +0000 (11 months ago) |
parents | 56e6b4e63668 |
children |
line diff
1.1 --- a/lxterminal/receipt Mon Jun 13 19:39:39 2022 +0000 1.2 +++ b/lxterminal/receipt Wed Jul 19 11:40:29 2023 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 DEPENDS="gtk+ vte" 1.5 BUILD_DEPENDS="gtk+-dev intltool vte-dev vte-terminal" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \ 1.11 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ 1.13 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.14 } 1.15