wok-current diff adeskbar/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 22619ed9cc54 |
children |
line diff
1.1 --- a/adeskbar/receipt Tue Feb 05 16:34:44 2019 +0100 1.2 +++ b/adeskbar/receipt Thu Mar 14 20:28:39 2024 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="python pygtk pycairo gnome-menus python-xdg" 1.5 SUGGESTED="python-xlib dbus-python python-pyalsaaudio" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 {