wok diff libsecret/receipt @ rev 24984

Up ufr2 (2.40-2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:30 2022 +0000 (2022-05-10)
parents 1daf24fb0842
children
line diff
     1.1 --- a/libsecret/receipt	Wed Mar 20 17:15:12 2019 +0100
     1.2 +++ b/libsecret/receipt	Tue May 10 07:46:30 2022 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="libsecret"
     1.6  VERSION="0.18.5"
     1.7 -SERIES="0.18"
     1.8 +SERIES="${VERSION%.*}"	# first two numbers from version
     1.9  SHORT_DESC="GObject based library for accessing the Secret Service API"
    1.10  MAINTAINER="devl547@gmail.com"
    1.11  LICENSE="LGPL2.1"
    1.12 @@ -15,6 +15,12 @@
    1.13  DEPENDS="libgio libgpg-error"
    1.14  BUILD_DEPENDS="libgcrypt-dev gobject-introspection-dev vala"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {