Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/train-valley/
Date: Mon, 23 Aug 2021 04:06:27
Message-Id: 1629691562.c650be8a1355c234df2e95191787d16d42fc6d3e.sam@gentoo
1 commit: c650be8a1355c234df2e95191787d16d42fc6d3e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 02:30:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 23 04:06:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c650be8a
7
8 games-simulation/train-valley: tidy ebuild
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 games-simulation/train-valley/train-valley-1.3.31403.ebuild | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/games-simulation/train-valley/train-valley-1.3.31403.ebuild b/games-simulation/train-valley/train-valley-1.3.31403.ebuild
16 index a1e958982c2..344e63467d7 100644
17 --- a/games-simulation/train-valley/train-valley-1.3.31403.ebuild
18 +++ b/games-simulation/train-valley/train-valley-1.3.31403.ebuild
19 @@ -8,6 +8,8 @@ inherit desktop unpacker wrapper xdg-utils
20 DESCRIPTION="Build railroads in order to connect cities, tunnels, and bridges"
21 HOMEPAGE="http://train-valley.com/tv1.html"
22 SRC_URI="${P//[-.]/_}.sh"
23 +S="${WORKDIR}/data/noarch/game"
24 +
25 LICENSE="all-rights-reserved"
26 SLOT="0"
27 KEYWORDS="-* ~amd64 ~x86"
28 @@ -25,10 +27,8 @@ RDEPEND="
29 )
30 "
31
32 -S="${WORKDIR}/data/noarch/game"
33 -
34 DIR="/opt/${PN}"
35 -QA_PREBUILT="${DIR}/*"
36 +QA_PREBUILT="${DIR#/}/*"
37
38 pkg_nofetch() {
39 einfo "Please buy and download ${SRC_URI} from:"