Initial import. Ebuild by me. Closing bug #112107.
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 27 Mar 2006 18:36:39 +0000 (18:36 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 27 Mar 2006 18:36:39 +0000 (18:36 +0000)
Package-Manager: portage-2.1_pre6-r6

games-fps/quake3-teamarena/ChangeLog [new file with mode: 0644]
games-fps/quake3-teamarena/Manifest [new file with mode: 0644]
games-fps/quake3-teamarena/files/digest-quake3-teamarena-1.32b [new file with mode: 0644]
games-fps/quake3-teamarena/metadata.xml [new file with mode: 0644]
games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild [new file with mode: 0644]

diff --git a/games-fps/quake3-teamarena/ChangeLog b/games-fps/quake3-teamarena/ChangeLog
new file mode 100644 (file)
index 0000000..1484ab5
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/quake3-teamarena
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/ChangeLog,v 1.1 2006/03/27 18:36:39 wolf31o2 Exp $
+
+*quake3-teamarena-1.32b (27 Mar 2006)
+
+  27 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+  +quake3-teamarena-1.32b.ebuild:
+  Initial import.  Ebuild by me.  Closing bug #112107.
+
diff --git a/games-fps/quake3-teamarena/Manifest b/games-fps/quake3-teamarena/Manifest
new file mode 100644 (file)
index 0000000..350e44e
--- /dev/null
@@ -0,0 +1,12 @@
+MD5 526de34cb1c366aafbadf794657ad4ae ChangeLog 425
+RMD160 f2101c632705c4e28a9484536d61dfe024882902 ChangeLog 425
+SHA256 eabeef5bd6eb8f35336405a036843d78320cac892f2253d5651afbb8817bcaa4 ChangeLog 425
+MD5 0028b4a419fef22709b613a6b700eced files/digest-quake3-teamarena-1.32b 274
+RMD160 7d1a30b298ae3fbecfebd4d45fff72e865e7ffa4 files/digest-quake3-teamarena-1.32b 274
+SHA256 462e3f3a4440df59c419f69195975ed4f50bdf9986427801c40bf8a86fc3f874 files/digest-quake3-teamarena-1.32b 274
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 71bbc61cc8955ef39eca3152812fc656 quake3-teamarena-1.32b.ebuild 1558
+RMD160 2aa42ad390a19827e9f1510331c375d05c8ae88d quake3-teamarena-1.32b.ebuild 1558
+SHA256 75b0267bb5f62236a8b380307d3da81feee0d8951e9d22e3b1fdaf56534e9604 quake3-teamarena-1.32b.ebuild 1558
diff --git a/games-fps/quake3-teamarena/files/digest-quake3-teamarena-1.32b b/games-fps/quake3-teamarena/files/digest-quake3-teamarena-1.32b
new file mode 100644 (file)
index 0000000..91e5b5d
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c71fdddccb20e8fc393d846e9c61d685 linuxq3apoint-1.32b-3.x86.run 30923961
+RMD160 eb63177fc0a30cda4976d8b68e065efb6dc41e50 linuxq3apoint-1.32b-3.x86.run 30923961
+SHA256 c36132c5556b35e01950f1e9c646235033a5130f87ad776ba2bc7becf4f4f186 linuxq3apoint-1.32b-3.x86.run 30923961
diff --git a/games-fps/quake3-teamarena/metadata.xml b/games-fps/quake3-teamarena/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild b/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild
new file mode 100644 (file)
index 0000000..e4f9a25
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+inherit eutils games
+
+DESCRIPTION="Quake III Team Arena - data portion"
+HOMEPAGE="http://icculus.org/quake3/"
+SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cdinstall"
+
+RDEPEND="|| (
+       games-fps/quake3
+       games-fps/quake3-bin )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+       games_pkg_setup
+       use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
+}
+
+src_unpack() {
+       unpack_makeself
+}
+
+src_install() {
+       einfo "Copying Team Arena files from linux client ..."
+       insinto "${GAMES_DATADIR}"/quake3/missionpack
+       doins missionpack/*.pk3 || die "missionpack"
+
+       if use cdinstall ; then
+               einfo "Copying files from CD ..."
+               newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \
+                       || die "pak0"
+               doins "${CDROM_ROOT}/Setup/missionpack/pak1.pk3" || die "pak1"
+               eend 0
+       fi
+
+       find "${D}" -exec touch '{}' \;
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       if ! use cdinstall ; then
+               einfo "You need to copy PAK0.PK3 from your Team Arena CD into"
+               einfo "${dir}/missionpack and name it pak0.pk3."
+               einfo "Or if you have got a Window installation of Q3 make a symlink to save space."
+               echo
+               einfo "Or, re-emerge quake3-teamarena with USE=cdinstall."
+               echo
+       fi
+       einfo "There is currently no icon for Q3TA.  This will be resolved soon."
+}