wok diff xfce4-netload-plugin/receipt @ rev 25836
Update some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 10:55:10 2025 +0000 (4 months ago) |
parents | 0bdce5989de3 |
children |
line diff
1.1 --- a/xfce4-netload-plugin/receipt Sat Aug 17 17:12:02 2024 +0100 1.2 +++ b/xfce4-netload-plugin/receipt Wed May 07 10:55:10 2025 +0000 1.3 @@ -17,6 +17,15 @@ 1.4 BUILD_DEPENDS="file gdk-pixbuf-dev gtk+-dev libxfcegui4-dev libxfce4ui-dev 1.5 pkg-config startup-notification-dev xcb-util-dev xfce4-panel-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://archive.xfce.org/src/panel-plugins/$PACKAGE/$( 1.11 + wget -O - https://archive.xfce.org/src/panel-plugins/$PACKAGE 2>/dev/null | \ 1.12 + sed '/href/!d;s|.*href="||;s|/".*||' | sort -Vr | sed q) 2>/dev/null | \ 1.13 + sed '/href="x/!d;s|.*gin-||;s|.tar.*||' | sort -Vr | sed q 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {