commit:     c650be8a1355c234df2e95191787d16d42fc6d3e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 22 02:30:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 04:06:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c650be8a

games-simulation/train-valley: tidy ebuild

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-simulation/train-valley/train-valley-1.3.31403.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-simulation/train-valley/train-valley-1.3.31403.ebuild 
b/games-simulation/train-valley/train-valley-1.3.31403.ebuild
index a1e958982c2..344e63467d7 100644
--- a/games-simulation/train-valley/train-valley-1.3.31403.ebuild
+++ b/games-simulation/train-valley/train-valley-1.3.31403.ebuild
@@ -8,6 +8,8 @@ inherit desktop unpacker wrapper xdg-utils
 DESCRIPTION="Build railroads in order to connect cities, tunnels, and bridges"
 HOMEPAGE="http://train-valley.com/tv1.html";
 SRC_URI="${P//[-.]/_}.sh"
+S="${WORKDIR}/data/noarch/game"
+
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
@@ -25,10 +27,8 @@ RDEPEND="
        )
 "
 
-S="${WORKDIR}/data/noarch/game"
-
 DIR="/opt/${PN}"
-QA_PREBUILT="${DIR}/*"
+QA_PREBUILT="${DIR#/}/*"
 
 pkg_nofetch() {
        einfo "Please buy and download ${SRC_URI} from:"

Reply via email to