summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/etqw-data/etqw-data-1.1-r8.ebuild')
-rw-r--r--games-fps/etqw-data/etqw-data-1.1-r8.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/games-fps/etqw-data/etqw-data-1.1-r8.ebuild b/games-fps/etqw-data/etqw-data-1.1-r8.ebuild
new file mode 100644
index 0000000..f582a63
--- /dev/null
+++ b/games-fps/etqw-data/etqw-data-1.1-r8.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games
+
+DESCRIPTION="An objective-driven, class-based first person shooter set in the QUAKE Universe."
+HOMEPAGE="http://www.enemyterritory.com/main.html"
+SRC_URI=""
+
+LICENSE="ETQW"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="app-arch/bzip2
+ app-arch/tar"
+RDEPEND=""
+PDEPEND="games-fps/etqw-bin"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/etqw
+Ddir=${D}/${dir}
+
+src_install() {
+ cdrom_get_cds Setup/Data/q4base/pak012.pk4 \
+ Setup/Data/base/pak000.pk4 \
+ Setup/Data/base/pak001.pk4 \
+ Setup/Data/base/pak002.pk4 \
+ Setup/Data/base/pak003.pk4 \
+ Setup/Data/base/pak004.pk4 \
+ Setup/Data/base/zpak_english000/pk4 \
+ Setup/Data/base/megatextures/area22_lit.mega \
+ Setup/Data/base/megatextures/ark_lit.mega \
+ Setup/Data/base/megatextures/canyon_lit.mega \
+ Setup/Data/base/megatextures/island_lit.mega \
+ Setup/Data/base/megatextures/outskirts_lit.mega \
+ Setup/Data/base/megatextures/quarry_lit.mega \
+ Setup/Data/base/megatextures/refinery_lit.mega \
+ Setup/Data/base/megatextures/salvage_lit.mega \
+ Setup/Data/base/megatextures/sewer_lit.mega \
+ Setup/Data/base/megatextures/slipgate_lit.mega \
+ Setup/Data/base/megatextures/valley_lit.mega \
+ Setup/Data/base/megatextures/volcano_lit.mega
+
+ insinto "${dir}"/base
+ einfo "Copying files from Disk 1..."
+ doins ${CDROM_ROOT}/Setup/Data/base/pak00{0,1,2,3,4}.pk4 \
+ ${CDROM_ROOT}/Setup/Data/base/zpak*.pk4 \
+ ${CDROM_ROOT}/Setup/Data/base/megatextures/* \
+ || die "copying pak001->pak004 and zpack*"
+# cdrom_load_next_cd
+# einfo "Copying files from Disk 2..."
+# doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{1,2,3}.pk4 \
+# || die "copying pak001->pak003"
+# cdrom_load_next_cd
+# einfo "Copying files from Disk 3..."
+# doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{4,5,6}.pk4 \
+# || die "copying pak004->pak006"
+# cdrom_load_next_cd
+# einfo "Copying files from Disk 4..."
+# doins ${CDROM_ROOT}/Setup/Data/q4base/pak00{7,8,9}.pk4 \
+# || die "copying pak007->pak009"
+
+ find ${Ddir} -exec touch '{}' \;
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "This is just the data portion of the game. You need to merge"
+ elog "games-fps/etqw-bin to play."
+ echo
+}