wok-current diff gnome-python-desktop/receipt @ rev 24425

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 17:50:36 2022 +0000 (2022-02-11)
parents 86790a278e70
children
line diff
     1.1 --- a/gnome-python-desktop/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/gnome-python-desktop/receipt	Fri Feb 11 17:50:36 2022 +0000
     1.3 @@ -14,6 +14,12 @@
     1.4  BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
     1.5  gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {