wok diff sokojs/receipt @ rev 25106
linux-libre: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 14:39:56 2022 +0000 (2022-06-22) |
parents | db9d9cb3c164 |
children | d66160614dc4 |
line diff
1.1 --- a/sokojs/receipt Sat Oct 23 10:55:42 2021 +0000 1.2 +++ b/sokojs/receipt Wed Jun 22 14:39:56 2022 +0000 1.3 @@ -10,6 +10,14 @@ 1.4 WEB_SITE="http://buze.michel.chez.com/Boxworld/src.htm" 1.5 WGET_URL="http://buze.michel.chez.com/sokojs.zip" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + # https://github.com/framasoft/framagames/tree/master/sokojs 1.11 + wget -O - https://github.com/michbuze/sokojs/commits/master 2>/dev/null | \ 1.12 + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {