cloc: fix upstream version check

Fixes:

INFO: Skip package cloc (status = UNKNOWN_BROKEN, current version = 1.84, next version = N/A)

After this commit:

INFO: Skip package cloc (status = MATCH, current version = 1.84, next version = 1.84)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
This commit is contained in:
Pierre-Jean Texier 2020-03-05 14:59:09 +00:00 committed by Khem Raj
parent 171f3df9e1
commit 4211ff4855

View File

@ -9,6 +9,8 @@ SRC_URI = "https://github.com/AlDanial/cloc/releases/download/${PV}/${BP}.tar.gz
SRC_URI[md5sum] = "a52f3843825377cfa4e4b3b30a567ab4"
SRC_URI[sha256sum] = "c3f0a6bd2319110418ccb3e55a7a1b6d0edfd7528bfd2ae5d530938abe90f254"
UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
do_configure[noexec] = "1"
do_compile[noexec] = "1"