wok diff gnustep-gui/receipt @ rev 25494
Add finch & btop (thanks ceel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 30 08:50:05 2022 +0000 (19 months ago) |
parents | 76ea5d09d6b9 |
children |
line diff
1.1 --- a/gnustep-gui/receipt Wed Feb 16 09:58:13 2022 +0100 1.2 +++ b/gnustep-gui/receipt Wed Nov 30 08:50:05 2022 +0000 1.3 @@ -9,7 +9,7 @@ 1.4 WEB_SITE="http://www.gnustep.org/" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WGET_URL="http://ftp.gnustep.org/pub/gnustep/core/$TARBALL" 1.8 +WGET_URL="https://github.com/gnustep/libs-gui/releases/download/gui-${VERSION//./_}/$TARBALL" 1.9 1.10 DEPENDS="audiofile aspell cups giflib gnustep-base jpeg libcomerr3 1.11 libpng libtasn1 portaudio tiff" 1.12 @@ -21,8 +21,8 @@ 1.13 # What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.17 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.18 + wget -O - ${WGET_URL%/rel*}/releases 2>/dev/null | \ 1.19 + sed '/tar.gz dist/!d;s|.tar.*||;s|.*gui-||;q' 1.20 } 1.21 1.22 # Rules to configure and make the package.