wok diff anthy/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 8c77592c608a
children 72fb3028d8ce
line diff
     1.1 --- a/anthy/receipt	Wed Jan 19 08:06:16 2022 +0100
     1.2 +++ b/anthy/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -15,6 +15,14 @@
     1.4  
     1.5  CONFIG_FILES="/etc/anthy-conf"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://osdn.net$(wget -O - https://osdn.net/projects/$PACKAGE 2>/dev/null | \
    1.11 +	sed '/Date: /!d;s|.*href="||;s|".*||;q') 2>/dev/null | \
    1.12 +	sed '/Release anthy-/!d;s|.*anthy-.*anthy-||;s| .*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {