wok diff libxcb/receipt @ rev 25618
Update get-pcem-roms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 28 14:28:52 2023 +0000 (16 months ago) |
parents | 9c0c1fdfe763 |
children |
line diff
1.1 --- a/libxcb/receipt Fri May 01 14:08:35 2020 +0100 1.2 +++ b/libxcb/receipt Mon Aug 28 14:28:52 2023 +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" ;;