wok diff wayland/receipt @ rev 24535

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 11:49:52 2022 +0000 (2022-02-23)
parents 351577bd7833
children bd7510903310
line diff
     1.1 --- a/wayland/receipt	Wed Apr 23 17:30:56 2014 +0200
     1.2 +++ b/wayland/receipt	Wed Feb 23 11:49:52 2022 +0000
     1.3 @@ -21,6 +21,13 @@
     1.4  	arm*) ARCH_ARGS="--disable-scanner" ;;
     1.5  esac
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/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  {