wok-6.x diff ttf-bwahh/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
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 Sat Jul 30 08:30:06 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()