wok-6.x diff snownews/receipt @ rev 25557

Up bzip3 (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 23 16:03:47 2023 +0000 (14 months ago)
parents 505d1daeed6c
children
line diff
     1.1 --- a/snownews/receipt	Thu May 19 10:39:49 2022 +0000
     1.2 +++ b/snownews/receipt	Sun Apr 23 16:03:47 2023 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="snownews"
     1.7 -VERSION="1.5.12"
     1.8 +VERSION="1.5.13"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Text mode RSS newsreader."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://github.com/kouya/snownews"
    1.15 -WGET_URL="https://ftp.radix.pro/slackware/slackware64-14.2/source/n/$PACKAGE/$TARBALL"
    1.16 +WEB_SITE="https://sourceforge.net/projects/snownews/"
    1.17 +WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL"
    1.18  
    1.19  DEPENDS="libxml2 ncurses zlib libcrypto"
    1.20  BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \
    1.21 @@ -17,8 +17,8 @@
    1.22  # What is the latest version available today?
    1.23  current_version()
    1.24  {
    1.25 -	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.26 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.27 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    1.28 +	sed '/snownews-/!d;s/.*snownews-//;s/.tar.*//;q'
    1.29  }
    1.30  
    1.31  # Rules to configure and make the package.