wok diff minetest/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | fa14bf00ffaa |
children | 7364ffdaaa60 |
line diff
1.1 --- a/minetest/receipt Thu Mar 19 15:34:58 2020 +0100 1.2 +++ b/minetest/receipt Fri Sep 02 16:30:36 2022 +0000 1.3 @@ -21,6 +21,12 @@ 1.4 libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \ 1.5 xorg-libXxf86vm-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {