wok diff xgalaga/receipt @ rev 24304
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 17 11:01:52 2022 +0000 (2022-01-17) |
parents | 86790a278e70 |
children | ad0bc3efbf37 |
line diff
1.1 --- a/xgalaga/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/xgalaga/receipt Mon Jan 17 11:01:52 2022 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid" 1.5 BUILD_DEPENDS="xorg-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ 1.10 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {