wok diff lxshortcut/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents f785404cbaa7
children 232ba43d30af
line diff
     1.1 --- a/lxshortcut/receipt	Thu Apr 30 16:01:51 2020 +0000
     1.2 +++ b/lxshortcut/receipt	Thu May 19 17:04:56 2022 +0000
     1.3 @@ -17,6 +17,13 @@
     1.4  BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \
     1.5  xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {