wok-current diff terminus-font-base/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | cfa37fb98858 |
children | 7dd01dedad38 |
line diff
1.1 --- a/terminus-font-base/receipt Mon Jul 25 12:47:51 2016 +0300 1.2 +++ b/terminus-font-base/receipt Mon May 02 11:23:24 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="" 1.5 BUILD_DEPENDS="perl" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/terminus-font/files/ 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {