wok diff scribus/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | a78610b2eb47 |
children | 29df00e1e19d |
line diff
1.1 --- a/scribus/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/scribus/receipt Thu Mar 09 18:12:54 2023 +0000 1.3 @@ -18,6 +18,14 @@ 1.4 ghostscript python python-dev python-pil pkg-config aspell aspell-dev \ 1.5 libboost-dev openssl openssl-dev zlib tk" 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/scribus/files/scribus/ 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|.*/scribus/||;s|/.*||;q' 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {