wok diff perl-gtk3/receipt @ rev 25599
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 13:38:12 2023 +0000 (16 months ago) |
parents | 2846eed9ee6d |
children |
line diff
1.1 --- a/perl-gtk3/receipt Fri Feb 11 09:16:47 2022 +0100 1.2 +++ b/perl-gtk3/receipt Sun Jul 16 13:38:12 2023 +0000 1.3 @@ -19,6 +19,13 @@ 1.4 perl-extutils-pkgconfig perl-glib perl-glib-object-introspection 1.5 perl-pango xorg-dev xorg-kbproto xorg-renderproto xorg-xproto" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/Gtk3-/!d;s|.*Gtk3-||;s| -.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {