summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-22 03:30:02 +0100
committerSam James <sam@gentoo.org>2021-08-23 05:06:02 +0100
commitc650be8a1355c234df2e95191787d16d42fc6d3e (patch)
treea552d3080b17b4546f241efbc4fb0dc9c6bb0ca2 /games-simulation/train-valley
parentgames-simulation/slime-rancher: tidy ebuild (diff)
downloadgentoo-c650be8a1355c234df2e95191787d16d42fc6d3e.tar.gz
gentoo-c650be8a1355c234df2e95191787d16d42fc6d3e.tar.bz2
gentoo-c650be8a1355c234df2e95191787d16d42fc6d3e.zip
games-simulation/train-valley: tidy ebuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-simulation/train-valley')
-rw-r--r--games-simulation/train-valley/train-valley-1.3.31403.ebuild6
1 files 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 a1e958982c2d..344e63467d7d 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:"