wok diff Arkanoid/receipt @ rev 25060
Up fakeroot (1.29)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 08:21:12 2022 +0000 (2022-06-07) |
parents | 97db34801d31 |
children | d66160614dc4 |
line diff
1.1 --- a/Arkanoid/receipt Wed Oct 06 08:15:26 2021 +0000 1.2 +++ b/Arkanoid/receipt Tue Jun 07 08:21:12 2022 +0000 1.3 @@ -11,6 +11,13 @@ 1.4 WEB_SITE="https://github.com/shiningdragon/Arkanoid" 1.5 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 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 on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {