wok diff mpv/receipt @ rev 25057
linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 11:05:30 2022 +0000 (2022-06-06) |
parents | c4618b9beef0 |
children | 7364ffdaaa60 |
line diff
1.1 --- a/mpv/receipt Fri Mar 20 15:35:35 2020 +0100 1.2 +++ b/mpv/receipt Mon Jun 06 11:05:30 2022 +0000 1.3 @@ -30,6 +30,12 @@ 1.4 xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXrender-dev \ 1.5 xorg-libXv-dev xorg-libXxf86vm-dev yasm zlib-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/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. 1.14 compile_rules() 1.15 {