wok diff babl/receipt @ rev 24406
updated clamav and clamav-dev (0.102.3 -> 0.104.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 13:44:54 2022 +0100 (2022-02-09) |
parents | f73dc49d0a42 |
children | bc2b9d9bed6f |
line diff
1.1 --- a/babl/receipt Thu Feb 03 09:09:19 2022 +0100 1.2 +++ b/babl/receipt Wed Feb 09 13:44:54 2022 +0100 1.3 @@ -16,6 +16,15 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://download.gimp.org/pub/$PACKAGE/$( \ 1.11 + wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ 1.12 + sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|\\1|" | sort -Vr | sed q) 2>/dev/null | \ 1.13 + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {