wok diff wqy-microhei/receipt @ rev 25164

updated python-antlr (3.5.2 -> 3.5.3)
author Hans-G?nter Theisgen
date Fri Jul 01 10:50:21 2022 +0100 (23 months ago)
parents d1570adae0ba
children 29df00e1e19d
line diff
     1.1 --- a/wqy-microhei/receipt	Mon May 09 21:28:29 2016 +0300
     1.2 +++ b/wqy-microhei/receipt	Fri Jul 01 10:50:21 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  {