wok diff gdk-pixbuf/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 7757b63c231b
children 01627c411095
line diff
     1.1 --- a/gdk-pixbuf/receipt	Wed Mar 04 13:39:54 2020 +0100
     1.2 +++ b/gdk-pixbuf/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -23,6 +23,13 @@
     1.4  	arm) ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache" ;;
     1.5  esac
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
    1.10 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    1.11 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {