From 3caf5213bbb7e9613fcaaa7fb017315f6feb075c Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 20 Feb 2022 22:37:58 +0000 Subject: [PATCH] games-fps/final-doom-data-gog: New package Closes: https://bugs.gentoo.org/162256 Closes: https://bugs.gentoo.org/162258 Signed-off-by: James Le Cuirot --- games-fps/final-doom-data-gog/Manifest | 1 + .../final-doom-data-gog-1.9.ebuild | 35 +++++++++++++++++++ games-fps/final-doom-data-gog/metadata.xml | 12 +++++++ 3 files changed, 48 insertions(+) create mode 100644 games-fps/final-doom-data-gog/Manifest create mode 100644 games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild create mode 100644 games-fps/final-doom-data-gog/metadata.xml diff --git a/games-fps/final-doom-data-gog/Manifest b/games-fps/final-doom-data-gog/Manifest new file mode 100644 index 0000000000000..7794370ee76d1 --- /dev/null +++ b/games-fps/final-doom-data-gog/Manifest @@ -0,0 +1 @@ +DIST setup_final_doom_1.9_(28044).exe 28883648 BLAKE2B e5b8657011eca1b06e9b04a3cdc57cc731b0009d32dee4e375ac308f71f568f4cfed9e8f030b89d7fad46b98076ede762a5635e81317a668c1b1e9c4c0b0e14a SHA512 e4c454609f2c3f08be3b0064768a76ca171a44ea3c822ec632ceee3616e1d9d2df7b5dd0cb8730160184b862bfccba0ac1da05e32a8f90cf3dc2a7314b196e6d diff --git a/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild b/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild new file mode 100644 index 0000000000000..8ff5f5a2491ba --- /dev/null +++ b/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Data files for Final DOOM from gog.com" +HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom" +SRC_URI="setup_final_doom_${PV}_(28044).exe" +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k ~x86" +RESTRICT="bindist fetch" + +BDEPEND="app-arch/innoextract" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_install() { + innoextract --extract --lowercase \ + --include=/Plutonia/PLUTONIA.WAD \ + --include=/TNT/TNT.WAD \ + --include=/Manual.pdf \ + "${DISTDIR}/${A}" || die + + insinto /usr/share/doom + doins plutonia/plutonia.wad tnt/tnt.wad + + dodoc manual.pdf +} diff --git a/games-fps/final-doom-data-gog/metadata.xml b/games-fps/final-doom-data-gog/metadata.xml new file mode 100644 index 0000000000000..88274e0356792 --- /dev/null +++ b/games-fps/final-doom-data-gog/metadata.xml @@ -0,0 +1,12 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + + games@gentoo.org + Gentoo Games Project + +