dev-util/spirv-tools: fix build-breakage, #728530

- non-maintainer commit to fix "The source directory '${S}' doesn't exist".

Closes: https://bugs.gentoo.org/728530
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2020-06-17 10:56:46 +03:00
parent a6b90c93b8
commit bcb4eae00c
@@ -12,10 +12,9 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
inherit git-r3
else
SNAPSHOT_COMMIT="v${PV}"
SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~ppc64 x86"
S="${WORKDIR}"/${MY_PN}-${SNAPSHOT_COMMIT}
S="${WORKDIR}"/${MY_PN}-${PV}
fi
DESCRIPTION="Provides an API and commands for processing SPIR-V modules"