wok-current diff ttf-bwahh/receipt @ rev 24688
updated jhead (3.04 -> 3.06.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:31:56 2022 +0100 (2022-03-12) |
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 Mar 12 13:31:56 2022 +0100 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()