wok diff icewm-xdgmenu/receipt @ rev 24983

Up xcursor-comix (0.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 16:45:21 2022 +0000 (2022-05-08)
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	Sun May 08 16:45:21 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  {