wok-6.x diff noto-mono/receipt @ rev 25499

Up whois (5.5.14)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 22 13:03:20 2022 +0000 (2022-12-22)
parents ba1e68274f76
children
line diff
     1.1 --- a/noto-mono/receipt	Fri Nov 15 18:28:42 2019 +0100
     1.2 +++ b/noto-mono/receipt	Thu Dec 22 13:03:20 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf"
     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://github.com/googlei18n/noto-fonts/releases 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {