wok diff youtube-dl-gui/receipt @ rev 24925
updated mpc (0.33 -> 0.34)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 13:55:09 2022 +0100 (2022-04-13) |
parents | 780113e29d34 |
children | 0262035dc1e7 |
line diff
1.1 --- a/youtube-dl-gui/receipt Thu Nov 13 18:52:18 2014 +0100 1.2 +++ b/youtube-dl-gui/receipt Wed Apr 13 13:55:09 2022 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="youtube-dl wxpython" 1.5 BUILD_DEPENDS="wget cacerts wxpython-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {