dev-cpp/gtest: change the URI download naming pattern

Now using the generic github v${PV}.tar.gz naming scheme.

Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Peter Levine
2023-02-04 10:26:19 +02:00
committed by Viorel Munteanu
parent e5122f5452
commit 369dd28819
+2 -2
View File
@@ -13,9 +13,9 @@ if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/google/googletest"
else
if [[ -z ${GOOGLETEST_COMMIT} ]]; then
SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz
SRC_URI="https://github.com/google/googletest/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/googletest-release-${PV}
S="${WORKDIR}"/googletest-${PV}
else
SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz
-> ${P}.tar.gz"