wok diff clutter/receipt @ rev 24540
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 16:54:57 2022 +0000 (2022-02-23) |
parents | 03b2309fd335 |
children |
line diff
1.1 --- a/clutter/receipt Mon May 23 23:56:45 2016 +0300 1.2 +++ b/clutter/receipt Wed Feb 23 16:54:57 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \ 1.5 gobject-introspection-dev pkg-config libxml2-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - 'https://gitlab.gnome.org/GNOME/clutter/-/tags?sort=updated_desc' 2>/dev/null | \ 1.11 + sed '/item-title/!d;s|.*">||;s|<.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {