wok-6.x diff wqy-bitmapfont/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | dfef8de3d270 |
children |
line diff
1.1 --- a/wqy-bitmapfont/receipt Fri Jan 30 10:17:37 2015 +0100 1.2 +++ b/wqy-bitmapfont/receipt Sun Jun 26 10:18:40 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