wok diff libquicktime/receipt @ rev 24453

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 15 18:29:48 2022 +0000 (2022-02-15)
parents 3abeffdae80b
children 7dd01dedad38
line diff
     1.1 --- a/libquicktime/receipt	Thu Feb 10 11:43:39 2022 +0000
     1.2 +++ b/libquicktime/receipt	Tue Feb 15 18:29:48 2022 +0000
     1.3 @@ -15,9 +15,9 @@
     1.4  
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
     1.8 +	wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \
     1.9  	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.10 -	sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|;q'
    1.11 +	sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.