wok diff pinentry-gtk/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
parents 6655176c9e79
children
line diff
     1.1 --- a/pinentry-gtk/receipt	Sat Jun 09 13:22:40 2018 +0000
     1.2 +++ b/pinentry-gtk/receipt	Fri Aug 19 06:26:39 2022 +0000
     1.3 @@ -16,6 +16,13 @@
     1.4  libcap-dev gtk+-dev libgcrypt-dev"
     1.5  SIBLINGS="pinentry"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.11 +	sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  
    1.16  compile_rules()