Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/rrootage/
Date: Fri, 18 Dec 2015 10:13:57
Message-Id: 1450430413.320027996521e8160e4f0254b846450e3f757d37.mr_bones_@gentoo
1 commit: 320027996521e8160e4f0254b846450e3f757d37
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 09:20:13 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 09:20:13 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32002799
7
8 EAPI=5; minor tidying
9
10 Package-Manager: portage-2.2.24
11
12 games-action/rrootage/rrootage-0.23a.ebuild | 11 +++++------
13 1 file changed, 5 insertions(+), 6 deletions(-)
14
15 diff --git a/games-action/rrootage/rrootage-0.23a.ebuild b/games-action/rrootage/rrootage-0.23a.ebuild
16 index 3a1657d..33ae629 100644
17 --- a/games-action/rrootage/rrootage-0.23a.ebuild
18 +++ b/games-action/rrootage/rrootage-0.23a.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 -EAPI=4
24 +EAPI=5
25 inherit eutils games
26
27 MY_PN="rRootage"
28 @@ -22,7 +22,7 @@ DEPEND="virtual/opengl
29 media-libs/libsdl[video]
30 media-libs/sdl-mixer[vorbis]
31 >=dev-libs/libbulletml-0.0.3"
32 -RDEPEND="${DEPEND}"
33 +RDEPEND=${DEPEND}
34
35 S=${WORKDIR}/${MY_PN}/src
36
37 @@ -37,12 +37,11 @@ src_prepare() {
38 -e "/^CPPFLAGS/s/MORE_CFLAGS/MORE_CXXFLAGS/" \
39 -e "s/ -mwindows//" \
40 -e "s:-I./bulletml/:-I/usr/include/bulletml:" \
41 - makefile.lin > Makefile || die "sed failed"
42 + makefile.lin > Makefile || die
43
44 sed -i \
45 -e "s:/usr/share/games:${GAMES_DATADIR}:" \
46 - barragemanager.cc screen.c soundmanager.c \
47 - || die "sed failed"
48 + barragemanager.cc screen.c soundmanager.c || die
49 }
50
51 src_compile() {
52 @@ -54,7 +53,7 @@ src_compile() {
53 src_install() {
54 newgamesbin rr ${PN}
55 dodir "${GAMES_DATADIR}/${MY_PN}"
56 - cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die "cp failed"
57 + cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die
58 dodoc ../readme*
59 prepgamesdirs
60 }