1 |
commit: 185c755be18e8949e0fa6a3c6c2ca8209afd619e |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 08:05:47 2016 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 08:05:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185c755b |
7 |
|
8 |
games-fps/tribes2: EAPI=5; tidy |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-fps/tribes2/tribes2-25034.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/games-fps/tribes2/tribes2-25034.ebuild b/games-fps/tribes2/tribes2-25034.ebuild |
16 |
index aba5b65..2bcad31 100644 |
17 |
--- a/games-fps/tribes2/tribes2-25034.ebuild |
18 |
+++ b/games-fps/tribes2/tribes2-25034.ebuild |
19 |
@@ -2,9 +2,9 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
+EAPI=5 |
24 |
inherit eutils unpacker cdrom games |
25 |
|
26 |
-IUSE="" |
27 |
DESCRIPTION="Tribes 2 - Team Combat on an Epic Scale" |
28 |
HOMEPAGE="http://www.lokigames.com/products/tribes2/" |
29 |
SRC_URI="http://www.libsdl.org/projects/${PN}/release/${P}-cdrom-x86.run |
30 |
@@ -16,6 +16,7 @@ SLOT="0" |
31 |
# time to try to figure it out but this definitely needs to stay -amd64 until |
32 |
# someone does fix the patching. |
33 |
KEYWORDS="-amd64 x86" |
34 |
+IUSE="" |
35 |
RESTRICT="mirror strip" |
36 |
|
37 |
DEPEND="sys-libs/glibc |
38 |
@@ -41,26 +42,26 @@ src_unpack() { |
39 |
src_install() { |
40 |
einfo "Copying files... this may take a while..." |
41 |
exeinto "${dir}" |
42 |
- doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/{t2launch,tribes2,tribes2.dynamic,tribes2d,tribes2d-restart.sh,tribes2d.dynamic} || die "doexe failed" |
43 |
+ doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/{t2launch,tribes2,tribes2.dynamic,tribes2d,tribes2d-restart.sh,tribes2d.dynamic} |
44 |
|
45 |
insinto "${dir}" |
46 |
- doins "${CDROM_ROOT}"/{README,README.tribes2d,Tribes2_Manual.pdf,console_start.cs,kver.pub} "${Ddir}" || die "copy failed" |
47 |
+ doins "${CDROM_ROOT}"/{README,README.tribes2d,Tribes2_Manual.pdf,console_start.cs,kver.pub} "${Ddir}" |
48 |
|
49 |
# Video card profiles |
50 |
# TODO: move this to src_unpack where it belongs. |
51 |
- tar xzf ${CDROM_ROOT}/profiles.tar.gz -C "${Ddir}" || die "uncompressing profiles" |
52 |
+ tar xzf ${CDROM_ROOT}/profiles.tar.gz -C "${Ddir}" || die |
53 |
|
54 |
# Base (Music, Textures, Maps, etc.) |
55 |
- doins -r ${CDROM_ROOT}/base ${CDROM_ROOT}/menu || die "copying data" |
56 |
+ doins -r ${CDROM_ROOT}/base ${CDROM_ROOT}/menu |
57 |
|
58 |
cd "${S}" |
59 |
loki_patch --verify patch.dat |
60 |
- loki_patch patch.dat "${Ddir}" >& /dev/null || die "patching" |
61 |
+ loki_patch patch.dat "${Ddir}" >& /dev/null || die |
62 |
|
63 |
# now, since these files are coming off a cd, the times/sizes/md5sums wont |
64 |
# be different ... that means portage will try to unmerge some files (!) |
65 |
# we run touch on ${D} so as to make sure portage doesnt do any such thing |
66 |
- find "${Ddir}" -exec touch '{}' \; |
67 |
+ find "${Ddir}" -exec touch '{}' + |
68 |
|
69 |
newicon "${CDROM_ROOT}"/icon.xpm tribes2.xpm |
70 |
games_make_wrapper t2launch ./t2launch "${dir}" "${dir}" |