wok diff popt/receipt @ rev 25788
xgalaga: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 08:52:14 2024 +0000 (4 months ago) |
parents | 8dad5987f564 |
children |
line diff
1.1 --- a/popt/receipt Wed Jun 29 15:03:18 2022 +0100 1.2 +++ b/popt/receipt Thu Sep 26 08:52:14 2024 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.13 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-release||;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.