wok diff hatari/receipt @ rev 24079

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 10:46:05 2021 +0000 (2021-07-09)
parents 3e2a0347b2f1
children 4dd970e17c72
line diff
     1.1 --- a/hatari/receipt	Thu Jul 08 09:18:48 2021 +0000
     1.2 +++ b/hatari/receipt	Fri Jul 09 10:46:05 2021 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
     1.8 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - http://download.tuxfamily.org/$PACKAGE 2>/dev/null | \
    1.10 +	sed "/href=\"[0-9]/!d;s|.*href=\"\\(.*\\)/\".*|\\1|" | sort -Vr | sed q
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.