wok diff icewm-xdgmenu/receipt @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | e3f377fbc5f0 |
children |
line diff
1.1 --- a/icewm-xdgmenu/receipt Thu Jan 24 17:15:36 2019 +0100 1.2 +++ b/icewm-xdgmenu/receipt Sat Jun 11 11:22:52 2022 +0000 1.3 @@ -1,19 +1,26 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="icewm-xdgmenu" 1.7 -VERSION="0.7.6" 1.8 +VERSION="0.7.6-9" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="icewm App-Menu generator (pl/py-free version)" 1.11 MAINTAINER="psychomaniak@xakep.ru" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680" 1.14 -SOURCE="xdg_puppy-0.7.6-9.tar.bz2" 1.15 -TARBALL=$SOURCE 1.16 +SOURCE="xdg_puppy" 1.17 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.18 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL" 1.19 1.20 DEPENDS="gnome-menus slitaz-menus icewm" 1.21 BUILD_DEPENDS="gnome-menus gnome-menus-dev" 1.22 1.23 +# What is the latest version available today? 1.24 +current_version() 1.25 +{ 1.26 + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.27 + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q 1.28 +} 1.29 + 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 {