summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-03-27 18:36:39 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-03-27 18:36:39 +0000
commit3135b41d3353cac6ddedf296b27b897af37822fb (patch)
treecc5df8edbd3e18e6f6930e2b793d089b2a9ade53 /games-fps/quake3-teamarena
parentAdded teamarena USE flag to quake3/quake3-bin. (diff)
downloadgentoo-2-3135b41d3353cac6ddedf296b27b897af37822fb.tar.gz
gentoo-2-3135b41d3353cac6ddedf296b27b897af37822fb.tar.bz2
gentoo-2-3135b41d3353cac6ddedf296b27b897af37822fb.zip
Initial import. Ebuild by me. Closing bug #112107.
(Portage version: 2.1_pre6-r6)
Diffstat (limited to 'games-fps/quake3-teamarena')
-rw-r--r--games-fps/quake3-teamarena/ChangeLog10
-rw-r--r--games-fps/quake3-teamarena/Manifest6
-rw-r--r--games-fps/quake3-teamarena/files/digest-quake3-teamarena-1.32b3
-rw-r--r--games-fps/quake3-teamarena/metadata.xml5
-rw-r--r--games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild59
5 files changed, 83 insertions, 0 deletions
diff --git a/games-fps/quake3-teamarena/ChangeLog b/games-fps/quake3-teamarena/ChangeLog
new file mode 100644
index 000000000000..1484ab55e1c0
--- /dev/null
+++ b/games-fps/quake3-teamarena/ChangeLog
@@ -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
index 000000000000..939bc9d5ad27
--- /dev/null
+++ b/games-fps/quake3-teamarena/Manifest
@@ -0,0 +1,6 @@
+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 f1178a74d1d9effdee033b1d5e7bc4a5 quake3-teamarena-1.32b.ebuild 1422
+RMD160 6388ac3034576222b2a1c47b3b5006841515f373 quake3-teamarena-1.32b.ebuild 1422
+SHA256 314f04903ad54e6b72649069a787e23d170ef4d618e370d938637b6a19f51261 quake3-teamarena-1.32b.ebuild 1422
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
index 000000000000..91e5b5d96a21
--- /dev/null
+++ b/games-fps/quake3-teamarena/files/digest-quake3-teamarena-1.32b
@@ -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
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/quake3-teamarena/metadata.xml
@@ -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
index 000000000000..e4f9a25a7e10
--- /dev/null
+++ b/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild
@@ -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."
+}