wok diff qbittorrent/receipt @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | f0393127d176 |
children | 64471e67874e |
line diff
1.1 --- a/qbittorrent/receipt Sun May 19 15:28:18 2019 +0100 1.2 +++ b/qbittorrent/receipt Sat Jun 11 11:22:52 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 geoip openssl-dev" 1.5 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {