diff options
Diffstat (limited to 'games-fps/quake3-data')
-rw-r--r-- | games-fps/quake3-data/Manifest | 3 | ||||
-rw-r--r-- | games-fps/quake3-data/metadata.xml | 8 | ||||
-rw-r--r-- | games-fps/quake3-data/quake3-data-1.32b.ebuild | 53 |
3 files changed, 64 insertions, 0 deletions
diff --git a/games-fps/quake3-data/Manifest b/games-fps/quake3-data/Manifest new file mode 100644 index 000000000000..0a9447256798 --- /dev/null +++ b/games-fps/quake3-data/Manifest @@ -0,0 +1,3 @@ +DIST linuxq3apoint-1.32b-3.x86.run 30923961 BLAKE2B 79585534d930a466af58cd34acaac7b9d95da2ad665525b7f7d9ad2e05f3efe5f94b7958b5adca8dd8f687b37d82323a76a701af4bd2cf6011df1e4cc59f4ca9 SHA512 64cff7f8b689e6c801cd68b0f44406a60bd45f83b2544debb8bf1ef7480a1407184a67d2bdafe66e803c0c030b8df6766ce24e48c9e7c610ecf152ed326b7d78 +EBUILD quake3-data-1.32b.ebuild 1167 BLAKE2B aa47c948c8623134d14d585c52d2ac6a49f42377dca0bf0a8e789ca4f29ea50dbacfcaa5a154a48f28366b8005392c6f81f9b187e975d4ef968c37d020db14e9 SHA512 57bede2c620392fa1407e768c63e0fa9f8733ecdc1a63612b8854d458e4cb40745e546391ac661c65fb6a40f16b9bec076972f84f7646f463e7de2199918a7c8 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-fps/quake3-data/metadata.xml b/games-fps/quake3-data/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-fps/quake3-data/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-fps/quake3-data/quake3-data-1.32b.ebuild b/games-fps/quake3-data/quake3-data-1.32b.ebuild new file mode 100644 index 000000000000..bc98a7d7c2e5 --- /dev/null +++ b/games-fps/quake3-data/quake3-data-1.32b.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CDROM_OPTIONAL="yes" +inherit eutils unpacker cdrom games + +DESCRIPTION="Quake III Arena - data portion" +HOMEPAGE="http://icculus.org/quake3/" +SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +S=${WORKDIR} +dir=${GAMES_DATADIR}/quake3 + +src_unpack() { + use cdinstall && cdrom_get_cds baseq3/pak0.pk3:Quake3/baseq3/pak0.pk3 + unpack_makeself +} + +src_install() { + ebegin "Copying files from linux client ..." + insinto "${GAMES_DATADIR}"/quake3/baseq3 + doins baseq3/*.pk3 + eend 0 + + if use cdinstall ; then + einfo "Copying files from CD ..." + newins "${CDROM_ABSMATCH}" pak0.pk3 + eend 0 + fi + + find "${D}" -exec touch '{}' \; + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! use cdinstall ; then + echo + elog "You need to copy pak0.pk3 from your Quake3 CD into:" + elog " ${dir}/baseq3." + elog "Or if you have a Windows installation of Q3 make a symlink to save space." + elog + elog "Or, re-emerge quake3-data with USE=cdinstall." + echo + fi +} |