wok diff libxml2/receipt @ rev 24792

updated libgdiplus and libgdiplus-dev (6.0.4 -> 6.0.5)
author Hans-G?nter Theisgen
date Mon Mar 21 14:27:40 2022 +0100 (2022-03-21)
parents 3e2a0347b2f1
children 5626c14aff89
line diff
     1.1 --- a/libxml2/receipt	Thu Jul 08 09:18:48 2021 +0000
     1.2 +++ b/libxml2/receipt	Mon Mar 21 14:27:40 2022 +0100
     1.3 @@ -25,10 +25,11 @@
     1.4  		ARCH_ARGS="--without-lzma" ;;
     1.5  esac
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - $WEB_SITE/news.html 2>/dev/null | \
    1.11 -	sed '/<h3>v/!d;s|.*<h3>v||;s|:.*||;q'
    1.12 +	wget -O - "https://gitlab.gnome.org/GNOME/libxml2/-/tags/?sort=updated_desc" 2>/dev/null | \
    1.13 +	sed '/item-title/!d;s|.*">v*||;s|<.*||;q'
    1.14  }
    1.15  
    1.16  # Rules to configure and make the package.