wok diff cadaver/receipt @ rev 25608

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 09:05:42 2023 +0000 (10 months ago)
parents afae00265386
children
line diff
     1.1 --- a/cadaver/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.2 +++ b/cadaver/receipt	Thu Jul 20 09:05:42 2023 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  SHORT_DESC="Command-line WEBDAV client."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://www.webdav.org/cadaver"
     1.8 +WEB_SITE="https://notroj.github.io/cadaver/"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$WEB_SITE/$TARBALL"
    1.12 @@ -18,8 +18,8 @@
    1.13  # What is the latest version available today?
    1.14  current_version()
    1.15  {
    1.16 -	wget -O - $WEB_SITE 2>/dev/null | \
    1.17 -	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.18 +	wget -O - https://github.com/notroj/cadaver/tags 2>/dev/null | \
    1.19 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.20  }
    1.21  
    1.22  # Rules to configure and make the package.