wok-current diff libxcb/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | 9c0c1fdfe763 |
children |
line diff
1.1 --- a/libxcb/receipt Fri May 01 14:08:35 2020 +0100 1.2 +++ b/libxcb/receipt Sat Apr 09 14:28:38 2022 +0000 1.3 @@ -18,6 +18,12 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # Handle SliTaz arch 1.14 case "$SLITAZ_ARCH" in 1.15 arm*) VERSION="$ARM_VERSION" ;;