wok diff libgtkhtml/receipt @ rev 24185

updated perl-common-sense (3.74 -> 3.75)
author Hans-G?nter Theisgen
date Fri Dec 31 14:04:57 2021 +0100 (2021-12-31)
parents d3eb5f4b53ea
children
line diff
     1.1 --- a/libgtkhtml/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/libgtkhtml/receipt	Fri Dec 31 14:04:57 2021 +0100
     1.3 @@ -8,7 +8,7 @@
     1.4  LICENSE="LGPL2"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WEB_SITE="http://freshmeat.net/projects/libgtkhtml/"
     1.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.8 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.9  
    1.10  DEPENDS="glibc-base glib libgio expat libxml2 zlib \
    1.11  gtk+ cairo atk fontconfig freetype pango pixman libpng \
    1.12 @@ -16,6 +16,12 @@
    1.13  xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
    1.14  BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {