wok-current diff digger/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 d8c511e24c20
children
line diff
     1.1 --- a/digger/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.2 +++ b/digger/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -8,13 +8,13 @@
     1.4  LICENSE="unknown"
     1.5  TARBALL="$PACKAGE-$VERSION.zip"
     1.6  WEB_SITE="https://www.lutzroeder.com/web/"
     1.7 -WGET_URL="https://codeload.github.com/lutzroeder/digger/zip/master"
     1.8 +WGET_URL="https://github.com/lutzroeder/digger/archive/refs/heads/main.zip"
     1.9  
    1.10  # What is the latest version available today?
    1.11  current_version()
    1.12  {
    1.13  	wget -O - https://github.com/lutzroeder/digger/commits/main 2>/dev/null | \
    1.14 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    1.15 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.