diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-02-20 22:36:21 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-02-20 22:36:21 +0000 |
commit | ff40d8908b3a4b2b851df8bde7b9cc8a7c99fd86 (patch) | |
tree | 88a425b222f51c6bc3b361e958cfec94715f51be /games-fps/doom-data-gog/doom-data-gog-1.9.ebuild | |
parent | app-arch/innoextract: Keyword 1.9 for ~m68k (diff) | |
download | gentoo-ff40d8908b3a4b2b851df8bde7b9cc8a7c99fd86.tar.gz gentoo-ff40d8908b3a4b2b851df8bde7b9cc8a7c99fd86.tar.bz2 gentoo-ff40d8908b3a4b2b851df8bde7b9cc8a7c99fd86.zip |
games-fps/doom-data-gog: New package
Closes: https://bugs.gentoo.org/162111
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-fps/doom-data-gog/doom-data-gog-1.9.ebuild')
-rw-r--r-- | games-fps/doom-data-gog/doom-data-gog-1.9.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild b/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild new file mode 100644 index 000000000000..2156a471e23a --- /dev/null +++ b/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Data files for The Ultimate DOOM from gog.com" +HOMEPAGE="https://www.gog.com/en/game/the_ultimate_doom" +SRC_URI="setup_the_ultimate_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=/DOOM.WAD \ + --include=/Manual.pdf \ + --include=/Doom\ Bible.pdf \ + "${DISTDIR}/${A}" || die + + insinto /usr/share/doom + doins doom.wad + dosym doom.wad /usr/share/doom/udoom.wad + + dodoc manual.pdf + newdoc "doom bible.pdf" doom-bible.pdf +} |