app-emulation/rars: Fix value of S

Closes: https://bugs.gentoo.org/932128
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2024-06-01 00:15:24 +02:00
parent 82e7ad1702
commit b8bcd81670

View File

@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,10 @@ DESCRIPTION="RARS -- RISC-V Assembler and Runtime Simulator"
HOMEPAGE="https://github.com/TheThirdOne/rars"
SRC_URI="
https://github.com/TheThirdOne/rars/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz"
https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz
"
# We need S to point to this directory
S="${WORKDIR}/${P}"
LICENSE="MIT"
SLOT="0"
@@ -27,11 +30,6 @@ src_unpack() {
mv "${WORKDIR}/JSoftFloat-${jsoft_hash}" "${S}/src/jsoftfloat"
}
src_prepare() {
default
java-pkg_clean
}
src_compile() {
# Using the build-jar.sh script
cd "${S}"