wok-6.x diff lxpanel/receipt @ rev 24506
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 20 14:41:23 2022 +0000 (2022-02-20) |
parents | f785404cbaa7 |
children | 8fb436a61a63 |
line diff
1.1 --- a/lxpanel/receipt Thu Apr 30 16:01:51 2020 +0000 1.2 +++ b/lxpanel/receipt Sun Feb 20 14:41:23 2022 +0000 1.3 @@ -27,6 +27,13 @@ 1.4 pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/lxde/files/LXPanel%20%28desktop%20panel%29/ 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {