wok diff xdotool/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | 5ea0ce1cecc0 |
children |
line diff
1.1 --- a/xdotool/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/xdotool/receipt Thu Jul 20 14:03:05 2023 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 DEPENDS="xorg-libX11 xorg-libXtst" 1.5 BUILD_DEPENDS="libxkbcommon-dev xorg-libX11-dev xorg-libXtst-dev xorg-libXtst" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.