wok diff mate-notification-daemon/receipt @ rev 24071

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 10:35:01 2021 +0000 (2021-07-07)
parents 13806712bef0
children 7364ffdaaa60
line diff
     1.1 --- a/mate-notification-daemon/receipt	Sun Jul 03 10:52:52 2016 +0200
     1.2 +++ b/mate-notification-daemon/receipt	Wed Jul 07 10:35:01 2021 +0000
     1.3 @@ -17,6 +17,12 @@
     1.4  libcanberra-dev libwnck-dev libnotify-dev intltool"
     1.5  GENERIC_MENUS="no"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {