wok diff fbvnc-auth/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 51c17c81e266
children a66f312c374b
line diff
     1.1 --- a/fbvnc-auth/receipt	Wed Aug 13 14:10:10 2014 +0200
     1.2 +++ b/fbvnc-auth/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -18,6 +18,13 @@
     1.4  	i?86) BUILD_DEPENDS="git" ;;
     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://github.com/zohead/fbvnc/commits/master 2>/dev/null | \
    1.11 +	sed '/[0-9] version/!d;s|.*">||;s| .*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {