wok diff nnn/receipt @ rev 25702

Update miniupnp* web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 29 13:27:26 2024 +0000 (3 months ago)
parents c8002e745818
children 7cc0fc2bdd3f
line diff
     1.1 --- a/nnn/receipt	Mon May 16 14:07:26 2022 +0100
     1.2 +++ b/nnn/receipt	Wed May 29 13:27:26 2024 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="libtinfo ncursesw readline"
     1.5  BUILD_DEPENDS="gcc83 libtinfo ncursesw-dev readline-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|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.