wok diff wqy-bitmapfont/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents dfef8de3d270
children 29df00e1e19d
line diff
     1.1 --- a/wqy-bitmapfont/receipt	Fri Jan 30 10:17:37 2015 +0100
     1.2 +++ b/wqy-bitmapfont/receipt	Tue Mar 01 15:53:52 2022 +0100
     1.3 @@ -11,6 +11,15 @@
     1.4  WGET_URL="$SF_MIRROR/wqy/$PACKAGE/$VERSION/$TARBALL"
     1.5  TAGS="font"
     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-bitmapfont\//!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;/-pcf-/!d;s|.*pcf-||;s|.tar.*||;q'
    1.14 +}
    1.15 +
    1.16  genpkg_rules()
    1.17  {
    1.18  	FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont