wok diff tig/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 952ee6c09c89
children
line diff
     1.1 --- a/tig/receipt	Wed Jul 27 06:32:16 2022 +0100
     1.2 +++ b/tig/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="ncurses"
     1.5  BUILD_DEPENDS="automake 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|.*/tig-\(.*\).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.