wok-6.x diff screentest/receipt @ rev 24308
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 17 18:18:17 2022 +0000 (2022-01-17) |
parents | d37d15244372 |
children |
line diff
1.1 --- a/screentest/receipt Sat Dec 15 09:20:58 2018 +0100 1.2 +++ b/screentest/receipt Mon Jan 17 18:18:17 2022 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 BUILD_DEPENDS="wget gtk+-dev libglade-dev automake autoconf libtool pkg-config \ 1.5 file" 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 {