1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils unpacker cdrom games
8 DESCRIPTION="Quake III Arena - data portion"
9 HOMEPAGE="http://icculus.org/quake3/"
10 SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run"
14 KEYWORDS="~alpha ~amd64 ~x86"
19 dir=${GAMES_DATADIR}/quake3
22 use cdinstall && cdrom_get_cds baseq3/pak0.pk3:Quake3/baseq3/pak0.pk3
27 ebegin "Copying files from linux client ..."
28 insinto "${GAMES_DATADIR}"/quake3/baseq3
32 if use cdinstall ; then
33 einfo "Copying files from CD ..."
34 newins "${CDROM_ABSMATCH}" pak0.pk3
38 find "${D}" -exec touch '{}' \;
45 if ! use cdinstall ; then
47 elog "You need to copy pak0.pk3 from your Quake3 CD into:"
48 elog " ${dir}/baseq3."
49 elog "Or if you have a Windows installation of Q3 make a symlink to save space."
51 elog "Or, re-emerge quake3-data with USE=cdinstall."