diff options
author | 2022-02-20 22:37:58 +0000 | |
---|---|---|
committer | 2022-02-20 22:37:58 +0000 | |
commit | 3caf5213bbb7e9613fcaaa7fb017315f6feb075c (patch) | |
tree | 1afa64e8b829118122d6a8a440b8be448327c623 /games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild | |
parent | games-fps/doom2-data-gog: New package (diff) | |
download | gentoo-3caf5213bbb7e9613fcaaa7fb017315f6feb075c.tar.gz gentoo-3caf5213bbb7e9613fcaaa7fb017315f6feb075c.tar.bz2 gentoo-3caf5213bbb7e9613fcaaa7fb017315f6feb075c.zip |
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 <chewi@gentoo.org>
Diffstat (limited to 'games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild')
-rw-r--r-- | games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 000000000000..8ff5f5a2491b --- /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 +} |