diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-12-17 01:07:41 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-01-06 07:47:27 (GMT) |
commit | d20b41f2eee9317c4a551e6ed9dc719f32f87ee8 (patch) | |
tree | e758e9b455eb6c21b37953244a8fcc188daa198c /src | |
parent | b3fa1da8ce0966c2a00c0f81e51acec47991b4c1 (diff) | |
download | mxe-d20b41f2eee9317c4a551e6ed9dc719f32f87ee8.zip mxe-d20b41f2eee9317c4a551e6ed9dc719f32f87ee8.tar.gz mxe-d20b41f2eee9317c4a551e6ed9dc719f32f87ee8.tar.bz2 |
libass: Fix update routine
Diffstat (limited to 'src')
-rw-r--r-- | src/libass.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libass.mk b/src/libass.mk index 428beb5..39330d7 100644 --- a/src/libass.mk +++ b/src/libass.mk @@ -11,8 +11,10 @@ $(PKG)_URL := https://github.com/libass/libass/releases/download/$($(PKG)_V $(PKG)_DEPS := gcc fontconfig freetype fribidi harfbuzz define $(PKG)_UPDATE - $(WGET) -q -O- 'http://code.google.com/p/libass/downloads/list?sort=-uploaded' | \ - $(SED) -n 's,.*libass-\([0-9][^<]*\)\.tar.*,\1,p' | \ + $(WGET) -q -O- "https://api.github.com/repos/libass/libass/releases" | \ + grep 'tag_name' | \ + $(SED) -n 's,.*tag_name": "\([0-9][^>]*\)".*,\1,p' | \ + $(SORT) -Vr | \ head -1 endef |