wok diff sshrc/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents 34e801e0eb52
children 097600d80931
line diff
     1.1 --- a/sshrc/receipt	Sat Feb 19 14:19:02 2022 +0000
     1.2 +++ b/sshrc/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -7,10 +7,10 @@
     1.4  SHORT_DESC="bring your .bashrc, .vimrc, etc. with you when you ssh"
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="MIT"
     1.7 -WEB_SITE="https://github.com/danrabinowitz/sshrc"
     1.8 +WEB_SITE="https://github.com/cdown/sshrc"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11 -WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
    1.12 +WGET_URL="https://github.com/cdown/sshrc/archive/refs/tags/VERSION.tar.gz"
    1.13  
    1.14  DEPENDS="bash openssl"
    1.15  SUGGESTED="mosh"
    1.16 @@ -18,8 +18,8 @@
    1.17  # What is the latest version available today?
    1.18  current_version()
    1.19  {
    1.20 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    1.21 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    1.22 +	wget -O - https://github.com/cdown/sshrc/tags 2>/dev/null | \
    1.23 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.