wok-current rev 24075
Fix some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 10:55:01 2021 +0000 (2021-07-08) |
parents | 3e2a0347b2f1 |
children | 3e9a9990c985 |
files | cairo-compmgr-core/receipt lxsession046/receipt sqlite/receipt wikiss/receipt |
line diff
1.1 --- a/cairo-compmgr-core/receipt Thu Jul 08 09:18:48 2021 +0000 1.2 +++ b/cairo-compmgr-core/receipt Thu Jul 08 10:55:01 2021 +0000 1.3 @@ -18,8 +18,8 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - https://github.com/gandalfn/Cairo-Composite-Manager/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.
2.1 --- a/lxsession046/receipt Thu Jul 08 09:18:48 2021 +0000 2.2 +++ b/lxsession046/receipt Thu Jul 08 10:55:01 2021 +0000 2.3 @@ -20,7 +20,7 @@ 2.4 { 2.5 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \ 2.6 sed '/scope="row/!d;/0.4.6/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 2.7 - sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 2.8 + sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q" 2.9 } 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/sqlite/receipt Thu Jul 08 09:18:48 2021 +0000 3.2 +++ b/sqlite/receipt Thu Jul 08 10:55:01 2021 +0000 3.3 @@ -21,7 +21,7 @@ 3.4 3.5 current_version() 3.6 { 3.7 - wget -O - $WGET_URL 2>/dev/null | \ 3.8 + wget -O - $WEB_SITE 2>/dev/null | \ 3.9 sed '/Version [0-9]/!d;s|.*Version \(.*\)<.*|\1|' | sed q 3.10 } 3.11
4.1 --- a/wikiss/receipt Thu Jul 08 09:18:48 2021 +0000 4.2 +++ b/wikiss/receipt Thu Jul 08 10:55:01 2021 +0000 4.3 @@ -17,7 +17,7 @@ 4.4 current_version() 4.5 { 4.6 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 4.7 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 4.8 + sed '/tgz/!d;s|.*href="\(.*\).tgz".*|\1|' | sort -Vr | sed q 4.9 } 4.10 4.11 # Rules to configure and make the package.