wok diff ninja/receipt @ rev 25775
luajit, wayland, weston: fix current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 15 16:55:07 2024 +0000 (2 months ago) |
parents | f3f4f971f674 |
children |
line diff
1.1 --- a/ninja/receipt Tue Jun 28 17:47:22 2022 +0100 1.2 +++ b/ninja/receipt Sun Sep 15 16:55:07 2024 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 DEPENDS="gcc-lib-base" 1.5 BUILD_DEPENDS="python" 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.