wok diff ttf-bwahh/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | d1570adae0ba |
children |
line diff
1.1 --- a/ttf-bwahh/receipt Mon May 09 21:28:29 2016 +0300 1.2 +++ b/ttf-bwahh/receipt Wed Aug 10 07:02:08 2022 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 1.5 DEPENDS="" 1.6 BUILD_DEPENDS="wget" 1.7 + 1.8 +# What is the latest version available today? 1.9 +current_version() 1.10 +{ 1.11 + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.12 + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.13 +} 1.14 1.15 # Rules to configure and make the package. 1.16 compile_rules()