# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils games DESCRIPTION="High-resolution textures for Quake 2" HOMEPAGE="http://tremor.quakedev.com/files.html" SRC_URI="http://tremor.quakedev.com/tremor_texture_packX.zip" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="" DEPEND="app-arch/unzip" S=${WORKDIR} dir=${GAMES_DATADIR}/quake2 src_install() { insinto "${dir}"/baseq2 doins $(find -name \*.pak) || die "doins *.pak failed" dodoc *.txt prepgamesdirs } pkg_postinst() { games_pkg_postinst einfo "Use a recent Quake 2 client (e.g. qudos) to take advantage of" einfo "these textures. quake2-icculus cannot use them." echo }