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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.12 2014/08/12 12:00:40 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.13 2015/01/31 20:29:16 tupone Exp $
4 4EAPI=5
5CDROM_OPTIONAL="yes" 5CDROM_OPTIONAL="yes"
6inherit eutils unpacker cdrom games 6inherit eutils unpacker cdrom games
7 7
8DESCRIPTION="Quake III Team Arena - data portion" 8DESCRIPTION="Quake III Team Arena - data portion"
9HOMEPAGE="http://icculus.org/quake3/" 9HOMEPAGE="http://icculus.org/quake3/"
15IUSE="" 15IUSE=""
16 16
17RDEPEND="|| ( 17RDEPEND="|| (
18 games-fps/quake3 18 games-fps/quake3
19 games-fps/quake3-bin )" 19 games-fps/quake3-bin )"
20DEPEND=""
20 21
21S=${WORKDIR} 22S=${WORKDIR}
22 23
23src_unpack() { 24src_unpack() {
24 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3 25 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
26} 27}
27 28
28src_install() { 29src_install() {
29 einfo "Copying Team Arena files from linux client ..." 30 einfo "Copying Team Arena files from linux client ..."
30 insinto "${GAMES_DATADIR}"/quake3/missionpack 31 insinto "${GAMES_DATADIR}"/quake3/missionpack
31 doins missionpack/*.pk3 || die "missionpack" 32 doins missionpack/*.pk3
32 33
33 if use cdinstall ; then 34 if use cdinstall ; then
34 einfo "Copying files from CD ..." 35 einfo "Copying files from CD ..."
35 newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \ 36 newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3
36 || die "pak0"
37 eend 0 37 eend 0
38 fi 38 fi
39 39
40 find "${D}" -exec touch '{}' \; 40 find "${D}" -exec touch '{}' \;
41 prepgamesdirs 41 prepgamesdirs

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20