/[gentoo-x86]/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild
Gentoo

Contents of /games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 17 21:51:27 2006 UTC (12 years, 5 months ago) by wolf31o2
Branch: MAIN
Changes since 1.1: +1 -2 lines
Fixed up file collisions and closing bug #130263.
(Portage version: 2.1_pre7-r5)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.1 2006/03/27 18:36:39 wolf31o2 Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Quake III Team Arena - data portion"
8 HOMEPAGE="http://icculus.org/quake3/"
9 SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run"
10
11 LICENSE="Q3AEULA"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="cdinstall"
15
16 RDEPEND="|| (
17 games-fps/quake3
18 games-fps/quake3-bin )"
19
20 S=${WORKDIR}
21
22 pkg_setup() {
23 games_pkg_setup
24 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
25 }
26
27 src_unpack() {
28 unpack_makeself
29 }
30
31 src_install() {
32 einfo "Copying Team Arena files from linux client ..."
33 insinto "${GAMES_DATADIR}"/quake3/missionpack
34 doins missionpack/*.pk3 || die "missionpack"
35
36 if use cdinstall ; then
37 einfo "Copying files from CD ..."
38 newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \
39 || die "pak0"
40 eend 0
41 fi
42
43 find "${D}" -exec touch '{}' \;
44 prepgamesdirs
45 }
46
47 pkg_postinst() {
48 games_pkg_postinst
49 if ! use cdinstall ; then
50 einfo "You need to copy PAK0.PK3 from your Team Arena CD into"
51 einfo "${dir}/missionpack and name it pak0.pk3."
52 einfo "Or if you have got a Window installation of Q3 make a symlink to save space."
53 echo
54 einfo "Or, re-emerge quake3-teamarena with USE=cdinstall."
55 echo
56 fi
57 einfo "There is currently no icon for Q3TA. This will be resolved soon."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20