wok diff xchm/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 92b662c0aa2d
children
line diff
     1.1 --- a/xchm/receipt	Sat Jun 18 13:48:16 2022 +0000
     1.2 +++ b/xchm/receipt	Fri Sep 06 11:29:23 2024 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm"
     1.5  BUILD_DEPENDS="wxWidgets28-dev chmlib-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.