wok diff freetuxtv/receipt @ rev 25599
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 13:38:12 2023 +0000 (10 months ago) |
parents | 5ea0ce1cecc0 |
children |
line diff
1.1 --- a/freetuxtv/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/freetuxtv/receipt Sun Jul 16 13:38:12 2023 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 BUILD_DEPENDS="gtk+-dev glib-dev dbus-glib-dev libsqlite sqlite-dev \ 1.5 libvlc-dev libvlc curl-dev libnotify-dev intltool file automake libtool" 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|.*/freetuxtv-\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.