wok-current diff yad-gtk3/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 2537c708087e
children ad0bc3efbf37
line diff
     1.1 --- a/yad-gtk3/receipt	Thu Nov 14 15:39:07 2019 +0100
     1.2 +++ b/yad-gtk3/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -18,6 +18,12 @@
     1.4  	zlib"
     1.5  BUILD_DEPENDS="gtk+3-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
    1.10 +	sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {