wok diff slurm/receipt @ rev 25811

Up rsync (3.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 17 16:05:26 2025 +0000 (2 weeks ago)
parents 9773cbef7450
children
line diff
     1.1 --- a/slurm/receipt	Wed Jul 20 17:20:43 2022 +0100
     1.2 +++ b/slurm/receipt	Fri Jan 17 16:05:26 2025 +0000
     1.3 @@ -15,10 +15,11 @@
     1.4  DEPENDS="ncurses"
     1.5  BUILD_DEPENDS="meson ncurses-dev"
     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|".*||;s|upstream%2F||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.