wok diff opencc/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (10 months ago) |
parents | 6b47ab094b52 |
children | c470ca10c896 |
line diff
1.1 --- a/opencc/receipt Tue May 17 07:50:08 2022 +0100 1.2 +++ b/opencc/receipt Sun Jul 16 15:14:43 2023 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 DEPENDS="gcc83-lib-base" 1.5 BUILD_DEPENDS="cmake gcc83 gettext" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/ver.\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.