Mercurial > mxe-octave
changeset 4709:2cee87644b69
* src/gtksourceview.mk: update update rule
author | John Donoghue |
---|---|
date | Thu, 24 May 2018 08:46:06 -0400 |
parents | f7b90a906a1a |
children | 038985c3bde2 |
files | src/gtksourceview.mk |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksourceview.mk Thu May 24 08:39:09 2018 -0400 +++ b/src/gtksourceview.mk Thu May 24 08:46:06 2018 -0400 @@ -11,11 +11,10 @@ $(PKG)_DEPS := gtk2 libxml2 define $(PKG)_UPDATE - $(WGET) -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \ - $(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^\.]*\)\.tar.*,\1,p' | \ - $(SED) 's,_,.,g' | \ - grep -v '^2\.9[0-9]\.' | \ - head -1 + + $(WGET) -q -O- https://github.com/GNOME/gtksourceview/tags | \ + $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | grep -v '^2\.9[0-9]\.' | $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD