wok diff vte/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | 86790a278e70 |
children |
line diff
1.1 --- a/vte/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/vte/receipt Wed Jan 11 14:20:29 2023 +0000 1.3 @@ -24,6 +24,13 @@ 1.4 ARCH_ARGS="--enable-introspection=no" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \ 1.10 + sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \ 1.11 + sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {