wok diff 0install/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (6 weeks ago)
parents 73f36875e5a7
children
line diff
     1.1 --- a/0install/receipt	Thu Mar 09 18:12:54 2023 +0000
     1.2 +++ b/0install/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="pygtk xdg-utils"
     1.5  BUILD_DEPENDS="python pygobject"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - https://github.com/0install/0install/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.