wok-current diff TeXmacs-windows-fonts/receipt @ rev 25563

Up openssh (9.3p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 06 08:42:03 2023 +0000 (20 months ago)
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	Sat May 06 08:42:03 2023 +0000
     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  {