wok diff foo2xqx/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (20 months ago) |
parents | fbe88431f963 |
children | 610b24fa3c65 |
line diff
1.1 --- a/foo2xqx/receipt Sat Jul 30 08:30:06 2022 +0000 1.2 +++ b/foo2xqx/receipt Fri Sep 23 08:28:09 2022 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 DEPENDS="ghostscript foo2xqx-data" 1.5 BUILD_DEPENDS="foomatic-db-engine bc" 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%m%d -d 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 # 1.16 compile_rules()