wok-current diff rubix/receipt @ rev 25368
libmpd: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 10:44:25 2022 +0000 (2022-07-29) |
parents | 453c249b6219 |
children |
line diff
1.1 --- a/rubix/receipt Fri Feb 11 17:50:36 2022 +0000 1.2 +++ b/rubix/receipt Fri Jul 29 10:44:25 2022 +0000 1.3 @@ -16,8 +16,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/rubix-[0-9]/!d;/tar/!d;s|.*rubix-||;s|.tar.*||' | sort -Vr | sed q 1.11 } 1.12 1.13 # Rules to configure and make the package.