wok-current diff clex/receipt @ rev 25736
Add miss git-branch patch for cookutils
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 20 09:30:59 2025 +0000 (16 hours ago) |
parents | 453c249b6219 |
children |
line diff
1.1 --- a/clex/receipt Fri Feb 11 17:50:36 2022 +0000 1.2 +++ b/clex/receipt Mon Jan 20 09:30:59 2025 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="clex" 1.7 -VERSION="4.6.patch10" 1.8 +VERSION="4.7" 1.9 CATEGORY="system-tools" 1.10 TAGS="file-manager" 1.11 SHORT_DESC="Text mode file manager." 1.12 @@ -10,7 +10,7 @@ 1.13 WEB_SITE="http://www.clex.sk/" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="http://www.clex.sk/download/$TARBALL" 1.17 +WGET_URL="https://github.com/xitop/clex/releases/download/v$VERSION/$TARBALL" 1.18 1.19 DEPENDS="ncursesw" 1.20 BUILD_DEPENDS="ncursesw-dev" 1.21 @@ -20,8 +20,8 @@ 1.22 # What is the latest version available today? 1.23 current_version() 1.24 { 1.25 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.26 - sed '/help/d;/clex-/!d;/tar/!d;s|.*clex-\(.*\).tar.*|\1|' | sort -Vr | sed q 1.27 + wget -O - ${WGET_URL%/download*} 2>/dev/null | \ 1.28 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.29 } 1.30 1.31 # Rules to configure and make the package.