wok diff jq/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (7 weeks ago)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/jq/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/jq/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -12,10 +12,11 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/stedolan/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/jq-\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.