changeset 4617:beb3a5cdd67d

glib: change update to use github * src/glib.mk: PKG_UPDATE source changed to github
author John D
date Wed, 07 Mar 2018 06:44:54 -0500
parents 6162b75d218a
children de2eedecd6ba
files src/glib.mk
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/glib.mk	Wed Mar 07 06:42:03 2018 -0500
+++ b/src/glib.mk	Wed Mar 07 06:44:54 2018 -0500
@@ -11,8 +11,9 @@
 $(PKG)_DEPS     := gettext pcre libiconv zlib libffi dbus
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://git.gnome.org/browse/glib/refs/tags' | \
-    $(SED) -n "s,.*glib-\([0-9]\+\.[0-9]*[02468]\.[^']*\)\.tar.*,\1,p" | \
+    $(WGET) -q -O- 'https://github.com/GNOME/glib/tags' | \
+    $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \
+    $(SORT) -Vr | \
     head -1
 endef