wok-6.x diff Arkanoid/receipt @ rev 24998
Up rp-pppoe (3.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 16 10:11:22 2022 +0000 (2022-05-16) |
parents | 97db34801d31 |
children |
line diff
1.1 --- a/Arkanoid/receipt Wed Oct 06 08:15:26 2021 +0000 1.2 +++ b/Arkanoid/receipt Mon May 16 10:11:22 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 {