wok diff libcaca/receipt @ rev 25675
zx2/zx1 fix current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 28 11:43:40 2024 +0000 (5 months ago) |
parents | dac38080ab6b |
children |
line diff
1.1 --- a/libcaca/receipt Tue Mar 15 10:03:33 2022 +0100 1.2 +++ b/libcaca/receipt Wed Feb 28 11:43:40 2024 +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 - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.