wok diff digger/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents d8c511e24c20
children c470ca10c896
line diff
     1.1 --- a/digger/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.2 +++ b/digger/receipt	Sat May 21 21:38:29 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.