unrtf: fix update macro

This commit is contained in:
Mark Brand 2017-01-14 11:39:47 +01:00
parent 6f7f958429
commit 03b407c2b0
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libiconv
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.savannah.gnu.org/cgit/unrtf.git/refs/' | \
$(SED) -n "s,.*<a href='/cgit/unrtf.git/tag/?id=v\([0-9.]*\)'>.*,\1,p" | \
$(WGET) -q -O- 'http://hg.savannah.gnu.org/hgweb/unrtf/tags' | \
$(SED) -n "s,^release_,,p" | \
head -1
endef