mirror of https://git.wownero.com/dsc/mxe.git
simplified update code of package gtksourceview
This commit is contained in:
parent
37397485d7
commit
453d893e0f
|
@ -14,8 +14,7 @@ $(PKG)_DEPS := gcc gtk libxml2
|
|||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
|
||||
$(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \
|
||||
$(SED) 's,_,.,g' | \
|
||||
grep -v '^2\.9' | \
|
||||
head -1
|
||||
|
|
Loading…
Reference in New Issue