commit:     b8bcd816709d553a65d3ac820125719906814474
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Fri May 31 22:15:24 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri May 31 22:16:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8bcd816

app-emulation/rars: Fix value of S

Closes: https://bugs.gentoo.org/932128
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 app-emulation/rars/{rars-1.6.ebuild => rars-1.6-r1.ebuild} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/app-emulation/rars/rars-1.6.ebuild 
b/app-emulation/rars/rars-1.6-r1.ebuild
similarity index 89%
rename from app-emulation/rars/rars-1.6.ebuild
rename to app-emulation/rars/rars-1.6-r1.ebuild
index 9e563f421..c68fc9d80 100644
--- a/app-emulation/rars/rars-1.6.ebuild
+++ b/app-emulation/rars/rars-1.6-r1.ebuild
@@ -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}"

Reply via email to