summaryrefslogtreecommitdiff
path: root/games-simulation/train-valley/train-valley-1.3.31403.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/train-valley/train-valley-1.3.31403.ebuild')
-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:"