changeset 4706:8b0cb58cc3df

* src/gdk-pixbuf.mk: update update function
author John Donoghue
date Thu, 24 May 2018 08:28:29 -0400
parents f1578ab72f30
children db98546e9286
files src/gdk-pixbuf.mk
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/gdk-pixbuf.mk	Thu May 24 08:09:34 2018 -0400
+++ b/src/gdk-pixbuf.mk	Thu May 24 08:28:29 2018 -0400
@@ -14,11 +14,9 @@
 endif
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \
-    grep '<a href=' | \
-    $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
-    grep -v '^2\.9' | \
-    head -1
+    $(WGET) -q -O- 'https://github.com/GNOME/gdk-pixbuf/tags' | \
+    $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \
+    tail -1
 endef
 
 $(PKG)_EXTRA_CONFIGURE_OPTIONS :=