wok diff gitso/receipt @ rev 24810
libmypaint: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 15:59:26 2022 +0000 (2022-03-22) |
parents | c49ffc024a6c |
children | e1e1678c5265 |
line diff
1.1 --- a/gitso/receipt Wed Jan 30 23:42:44 2019 +0100 1.2 +++ b/gitso/receipt Tue Mar 22 15:59:26 2022 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 1.5 DEPENDS="x11vnc vncviewer wxpython" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ 1.11 + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {