wok diff gnustep-base/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 19fff4ad1644
children
line diff
     1.1 --- a/gnustep-base/receipt	Fri Oct 07 10:48:59 2022 +0000
     1.2 +++ b/gnustep-base/receipt	Tue Jul 18 11:43:32 2023 +0000
     1.3 @@ -19,8 +19,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 "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.10 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.