dev-util/cmocka: use ver_cut in SRC_URI

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-04-12 11:37:49 +01:00
parent 7f08f4714c
commit 96949d9461

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,7 @@ inherit cmake-multilib
DESCRIPTION="Unit testing framework for C"
HOMEPAGE="https://cmocka.org/"
SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
SRC_URI="https://cmocka.org/files/$(ver_cut 1-2)/${P}.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"