wok diff pan/receipt @ rev 25791

Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 23 13:27:53 2024 +0000 (3 months ago)
parents 82a123e54615
children
line diff
     1.1 --- a/pan/receipt	Sun May 26 08:12:35 2024 +0000
     1.2 +++ b/pan/receipt	Wed Oct 23 13:27:53 2024 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  WEB_SITE="http://pan.rebelbase.com"
     1.5  
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL"
     1.8 +WGET_URL="https://gitlab.gnome.org/GNOME/pan/-/archive/v$VERSION/pan-v$VERSION.tar.gz"
     1.9  
    1.10  SUGGESTED="pan-lang"
    1.11  DEPENDS="cairo gcc-lib-base glibc-base gmime gtk+ gtkspell pcre"
    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 '/\/releases\//!d;s|.*releases/||;s|/source.*||;q'
    1.18 +	wget -O - https://gitlab.gnome.org/GNOME/pan/-/tags 2>/dev/null | \
    1.19 +	sed '/">v/!d;s|.*">v||;s|<.*||;q'
    1.20  }
    1.21  
    1.22  # Rules to configure and make the package.