wok-6.x diff gource/receipt @ rev 24506
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 20 14:41:23 2022 +0000 (2022-02-20) |
parents | 25abe1edd77f |
children |
line diff
1.1 --- a/gource/receipt Fri Feb 21 17:10:22 2020 +0100 1.2 +++ b/gource/receipt Sun Feb 20 14:41:23 2022 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 BUILD_DEPENDS="freetype-dev ftgl-dev glew-dev glm libboost-filesystem-dev 1.5 libsdl2-dev libsdl2-image-dev mesa-dev pcre-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/gource-\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {