comparison src/gtksourceview.mk @ 4709:2cee87644b69

* src/gtksourceview.mk: update update rule
author John Donoghue
date Thu, 24 May 2018 08:46:06 -0400
parents d5a5b8e659de
children 038985c3bde2
comparison
equal deleted inserted replaced
4708:f7b90a906a1a 4709:2cee87644b69
9 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2 9 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) 10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
11 $(PKG)_DEPS := gtk2 libxml2 11 $(PKG)_DEPS := gtk2 libxml2
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \ 14
15 $(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^\.]*\)\.tar.*,\1,p' | \ 15 $(WGET) -q -O- https://github.com/GNOME/gtksourceview/tags | \
16 $(SED) 's,_,.,g' | \ 16 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | grep -v '^2\.9[0-9]\.' | $(SORT) -V | \
17 grep -v '^2\.9[0-9]\.' | \ 17 tail -1
18 head -1
19 endef 18 endef
20 19
21 define $(PKG)_BUILD 20 define $(PKG)_BUILD
22 cd '$(1)' && ./configure \ 21 cd '$(1)' && ./configure \
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \