wok diff libmatekbd/receipt @ rev 25532

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 10:46:05 2023 +0000 (20 months ago)
parents e863f2041090
children 73f36875e5a7
line diff
     1.1 --- a/libmatekbd/receipt	Sun Aug 09 17:29:42 2015 -0300
     1.2 +++ b/libmatekbd/receipt	Mon Feb 27 10:46:05 2023 +0000
     1.3 @@ -14,6 +14,12 @@
     1.4  BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
     1.5  mate-common-dev dconf-dev libxklavier-dev"
     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  {