/[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.7 - (hide annotations) (download)
Fri Sep 26 18:42:52 2008 UTC (10 years, 6 months ago) by zmedico
Branch: MAIN
Changes since 1.6: +3 -2 lines
Set PROPERTIES=interactive since src_unpack() calls cdrom_get_cds().
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-0911-x86-64 i686)

1 zmedico 1.7 # Copyright 1999-2008 Gentoo Foundation
2 wolf31o2 1.1 # Distributed under the terms of the GNU General Public License v2
3 zmedico 1.7 # $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.6 2007/03/12 15:00:33 genone Exp $
4 wolf31o2 1.1
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 flameeyes 1.4 KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
14 wolf31o2 1.1 IUSE="cdinstall"
15 zmedico 1.7 PROPERTIES="cdinstall? ( interactive )"
16 wolf31o2 1.1
17     RDEPEND="|| (
18     games-fps/quake3
19     games-fps/quake3-bin )"
20    
21     S=${WORKDIR}
22    
23 wolf31o2 1.5 src_unpack() {
24 wolf31o2 1.1 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
25     unpack_makeself
26     }
27    
28     src_install() {
29     einfo "Copying Team Arena files from linux client ..."
30     insinto "${GAMES_DATADIR}"/quake3/missionpack
31     doins missionpack/*.pk3 || die "missionpack"
32    
33     if use cdinstall ; then
34     einfo "Copying files from CD ..."
35     newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \
36     || die "pak0"
37     eend 0
38     fi
39    
40     find "${D}" -exec touch '{}' \;
41     prepgamesdirs
42     }
43    
44     pkg_postinst() {
45     games_pkg_postinst
46     if ! use cdinstall ; then
47 genone 1.6 elog "You need to copy PAK0.PK3 from your Team Arena CD into"
48     elog "${dir}/missionpack and name it pak0.pk3."
49     elog "Or if you have got a Window installation of Q3 make a symlink to save space."
50     elog
51     elog "Or, re-emerge quake3-teamarena with USE=cdinstall."
52 wolf31o2 1.1 echo
53     fi
54 genone 1.6 elog "There is currently no icon for Q3TA. This will be resolved soon."
55 wolf31o2 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20