wok diff hylafax/receipt @ rev 24810

libmypaint: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 22 15:59:26 2022 +0000 (2022-03-22)
parents af8d823a3077
children 42621d26bf58
line diff
     1.1 --- a/hylafax/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/hylafax/receipt	Tue Mar 22 15:59:26 2022 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - http://git.hylafax.org/HylaFAX 2>/dev/null | \
    1.10 +	sed '/>log</!d;/HYLAFAX/!d;s|.*HYLAFAX-||;s|".*||;s|_|.|g;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.