wok diff xplc/receipt @ rev 25773
cookutils: fix svg compressor
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 16:25:52 2024 +0000 (2 months ago) |
parents | b0069c845544 |
children |
line diff
1.1 --- a/xplc/receipt Fri Oct 07 09:15:33 2022 +0000 1.2 +++ b/xplc/receipt Fri Sep 13 16:25:52 2024 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 DEPENDS="gcc-lib-base" 1.5 BUILD_DEPENDS="" 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/$PACKAGE/files/ 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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" 1.14 } 1.15