wok diff qbittorrent/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents f0393127d176
children 64471e67874e
line diff
     1.1 --- a/qbittorrent/receipt	Sun May 19 15:28:18 2019 +0100
     1.2 +++ b/qbittorrent/receipt	Tue Nov 16 17:16:48 2021 +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  {