wok diff ttf-bwahh/receipt @ rev 25413
updated wkhtmltopdf (0.12.5 -> 0.12.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:30:32 2022 +0100 (2022-08-04) |
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 Thu Aug 04 08:30:32 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()