wok diff cryptkeeper/receipt @ rev 24336

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 18:19:21 2022 +0000 (2022-01-28)
parents 6e8b1bcb30e2
children 241fb98cab1c
line diff
     1.1 --- a/cryptkeeper/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/cryptkeeper/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.3 @@ -6,13 +6,20 @@
     1.4  SHORT_DESC="Linux system tray applet that manages EncFS encrypted folders"
     1.5  MAINTAINER="al.bobylev@gmail.com"
     1.6  LICENSE="GPL3"
     1.7 -WEB_SITE="https://github.com/tomm/cryptkeeper/"
     1.8 +WEB_SITE="https://github.com/tomm/cryptkeeper"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="http://tom.noflag.org.uk/cryptkeeper/$TARBALL"
    1.11  
    1.12  DEPENDS="gtk+ GConf encfs"
    1.13  BUILD_DEPENDS="gtk+-dev GConf-dev xorg-libX11-dev"
    1.14  
    1.15 +# What is the latest version available today?
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.19 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {