changeset 5514:d3a47a9a1413

* src/libcroco.mk: fix update rule
author John Donoghue <john.donoghue@ieee.org>
date Fri, 21 Aug 2020 09:55:47 -0400
parents 9e5a68f8f082
children d46a116f2c8d
files src/libcroco.mk
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/libcroco.mk	Fri Aug 21 07:38:01 2020 -0400
+++ b/src/libcroco.mk	Fri Aug 21 09:55:47 2020 -0400
@@ -11,9 +11,9 @@
 $(PKG)_DEPS     := glib libxml2
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- https://github.com/GNOME/libcroco/tags | \
-    $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | grep -v '^2\.9[0-9]\.' | $(SORT) -V | \
-    tail -1
+    $(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libcroco/tags' | \
+    $(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
+    head -1
 endef
 
 define $(PKG)_BUILD