changeset 4705:f1578ab72f30

* src/atkmm.mk: update update rule
author John Donoghue
date Thu, 24 May 2018 08:09:34 -0400
parents d1d36bdbc1ae
children 8b0cb58cc3df
files src/atkmm.mk
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/atkmm.mk	Wed May 23 12:30:23 2018 -0400
+++ b/src/atkmm.mk	Thu May 24 08:09:34 2018 -0400
@@ -11,10 +11,9 @@
 $(PKG)_DEPS     := atk glibmm
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://git.gnome.org/browse/atkmm/refs/tags' | \
-    grep '<a href=' | \
-    $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
-    head -1
+    $(WGET) -q -O- https://github.com/GNOME/atkmm/tags | \
+    $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \
+    tail -1
 endef
 
 define $(PKG)_BUILD