Fix libmpcdec update

This commit is contained in:
Jonas Kvinge 2019-09-22 00:19:53 +02:00 committed by mabrand
parent 36f30a647b
commit be5a766c8e
1 changed files with 2 additions and 4 deletions

View File

@ -11,10 +11,8 @@ $(PKG)_URL := https://files.musepack.net/source/$(PKG)-$($(PKG)_VERSION).ta
$(PKG)_DEPS := cc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://files.musepack.net/source/$(PKG)-$($(PKG)_VERSION)' | \
$(SED) -n 's,.*$(PKG)-\([0-9][^>]*\)\.tar.*,\1,p' | \
grep -v 'alpha' | \
grep -v 'beta' | \
$(WGET) -q -O- 'http://svn.musepack.net/libmpcdec/tags/' | \
$(SED) -n "s,.*>release-\([0-9]\+\.[0-9]\+\.[0-9]\+\).*,\1,p" | \
$(SORT) -Vr | \
head -1
endef