wok diff tmux-mem-cpu-load/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (8 months ago)
parents a73375793791
children
line diff
     1.1 --- a/tmux-mem-cpu-load/receipt	Fri Jul 29 14:34:07 2022 +0100
     1.2 +++ b/tmux-mem-cpu-load/receipt	Sat Dec 23 14:06:29 2023 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="tmux"
     1.5  BUILD_DEPENDS="cmake python"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/arch*}/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.