wok diff libsdl2-ttf/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 | 538acd8dcbb5 |
children |
line diff
1.1 --- a/libsdl2-ttf/receipt Wed Mar 23 17:04:32 2022 +0100 1.2 +++ b/libsdl2-ttf/receipt Tue Jul 18 11:43:32 2023 +0000 1.3 @@ -20,8 +20,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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.