wok diff adwaita-icon-theme/receipt @ rev 24116

Add btfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 02 18:25:40 2021 +0000 (2021-10-02)
parents 4945e6088799
children a273d5a1ae50
line diff
     1.1 --- a/adwaita-icon-theme/receipt	Fri Dec 27 17:29:42 2019 +0100
     1.2 +++ b/adwaita-icon-theme/receipt	Sat Oct 02 18:25:40 2021 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="adwaita-icon-theme"
     1.6  VERSION="3.34.3"
     1.7 -SERIES="3.34"	# first two numbers from version
     1.8 +SERIES="${VERSION%.*}"	# first two numbers from version
     1.9  CATEGORY="customization"
    1.10  SHORT_DESC="A collection of icons used at the basis for GNOME themes."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -15,6 +15,12 @@
    1.13  DEPENDS=""
    1.14  BUILD_DEPENDS=""
    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  {