wok-6.x diff TeXmacs-windows-fonts/receipt @ rev 24875
updated m4 (1.4.18 -> 1.4.19)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 10:07:36 2022 +0100 (2022-03-31) |
parents | 617dbdeb6f7e |
children |
line diff
1.1 --- a/TeXmacs-windows-fonts/receipt Wed Oct 02 13:07:29 2013 +0000 1.2 +++ b/TeXmacs-windows-fonts/receipt Thu Mar 31 10:07:36 2022 +0100 1.3 @@ -8,10 +8,17 @@ 1.4 LICENSE="LPPL" 1.5 TARBALL="$PACKAGE-$VERSION-noarch.tar.gz" 1.6 WEB_SITE="http://www.texmacs.org" 1.7 -WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" 1.8 +WGET_URL="http://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" 1.9 1.10 DEPENDS="" 1.11 1.12 +# What is the latest version available today? 1.13 +current_version() 1.14 +{ 1.15 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.16 + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-noarch.tar.*\".*|\\1|" | sort -Vr | sed q 1.17 +} 1.18 + 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 {