wok-6.x diff qjackctl/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 9689f1b75619
children b0069c845544
line diff
     1.1 --- a/qjackctl/receipt	Tue Dec 30 10:01:09 2014 +0100
     1.2 +++ b/qjackctl/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -18,6 +18,14 @@
     1.4  jack-audio-connection-kit-dev xorg-xproto xorg-libX11-dev"
     1.5  TAGS="audio sound"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {