wok diff d-feet/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 240fb3120638
children
line diff
     1.1 --- a/d-feet/receipt	Sun May 19 19:07:20 2019 +0200
     1.2 +++ b/d-feet/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -8,11 +8,17 @@
     1.4  LICENSE="GPL2"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.6  WEB_SITE="https://live.gnome.org/DFeet/"
     1.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION:0:3}/$TARBALL"
     1.8 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.9  
    1.10  DEPENDS="dbus dbus-python pygtk python"
    1.11  BUILD_DEPENDS="dbus-dev dbus-python-dev pygtk-dev python-dev python-setuptools"
    1.12  
    1.13 +current_version()
    1.14 +{
    1.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.16 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.17 +}
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {