wok-6.x diff wqy-microhei/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | d1570adae0ba |
children |
line diff
1.1 --- a/wqy-microhei/receipt Mon May 09 21:28:29 2016 +0300 1.2 +++ b/wqy-microhei/receipt Wed Mar 16 10:07:05 2022 +0100 1.3 @@ -12,6 +12,15 @@ 1.4 1.5 DEPENDS="" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://sourceforge.net/projects/wqy/files/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;/wqy-microhei\//!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",|/|;q' | xargs wget -O - 2>/dev/null | \ 1.13 + sed '/tar/!d;/wqy-microhei/!d;s|.*wqy-microhei-||;s|.tar.*||;q' 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {