wok diff cairo-dock/receipt @ rev 24402

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 16:59:06 2022 +0000 (2022-02-08)
parents 613b75574469
children d80275dcc2c7
line diff
     1.1 --- a/cairo-dock/receipt	Tue Jan 07 07:24:36 2020 +0100
     1.2 +++ b/cairo-dock/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.3 @@ -16,6 +16,13 @@
     1.4  BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev 
     1.5  	gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://launchpad.net/cairo-dock-core/ 2>/dev/null | \
    1.11 +	sed '/Latest version/!d;s|.* is ||'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {