wok diff lsof/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (5 weeks ago)
parents 3c68bcd9c4a4
children
line diff
     1.1 --- a/lsof/receipt	Wed Mar 30 06:22:51 2022 +0100
     1.2 +++ b/lsof/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -11,10 +11,11 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
     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|.*/\(.*\).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.