Gentoo Archives: gentoo-commits

From: Marcel Unbehaun <frostworks@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/cubosphere/
Date: Thu, 02 Feb 2012 16:24:49
Message-Id: 8d426874e4298d8065734303d654fbc80ea04091.frostwork@gentoo
1 commit: 8d426874e4298d8065734303d654fbc80ea04091
2 Author: Marcel Unbehaun <marcel <AT> frostworx <DOT> de>
3 AuthorDate: Thu Feb 2 16:25:57 2012 +0000
4 Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de>
5 CommitDate: Thu Feb 2 16:25:57 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=8d426874
7
8 [games-puzzle/cubosphere] new version cubosphere-0.2.ebuild
9
10 ---
11 ...cubosphere-0.1.ebuild => cubosphere-0.2.ebuild} | 7 ++++++-
12 1 files changed, 6 insertions(+), 1 deletions(-)
13
14 diff --git a/games-puzzle/cubosphere/cubosphere-0.1.ebuild b/games-puzzle/cubosphere/cubosphere-0.2.ebuild
15 similarity index 86%
16 rename from games-puzzle/cubosphere/cubosphere-0.1.ebuild
17 rename to games-puzzle/cubosphere/cubosphere-0.2.ebuild
18 index c80eac2..1104a19 100644
19 --- a/games-puzzle/cubosphere/cubosphere-0.1.ebuild
20 +++ b/games-puzzle/cubosphere/cubosphere-0.2.ebuild
21 @@ -4,11 +4,13 @@
22
23 EAPI="3"
24
25 +MY_PV="02"
26 +
27 inherit eutils games flag-o-matic
28
29 DESCRIPTION="game similar to the PSX game Kula World / Roll Away"
30 HOMEPAGE="http://cubosphere.sourceforge.net/"
31 -SRC_URI="mirror://sourceforge/${PN}/${PN}_beta_${PV}_unix.tar"
32 +SRC_URI="mirror://sourceforge/${PN}/${PN}_beta${MY_PV}_unix_src.tar"
33
34 LICENSE="GPL-3"
35 SLOT="0"
36 @@ -24,7 +26,10 @@ DEPEND="dev-lang/lua
37 virtual/opengl
38 virtual/glu"
39
40 +S="${WORKDIR}"/"${PN}"_beta"${MY_PV}"_unix_src
41 +
42 src_prepare() {
43 + cd "${S}"
44 # respect ${GAMES_DATADIR}
45 sed -i -e "s:llua5.1:llua:g" -i Makefile
46 sed -i -e "s:PREFIX=/usr/local":PREFIX=/usr":g" -i Makefile