summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-02-20 22:36:21 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-02-20 22:36:21 +0000
commitff40d8908b3a4b2b851df8bde7b9cc8a7c99fd86 (patch)
tree88a425b222f51c6bc3b361e958cfec94715f51be /games-fps
parentapp-arch/innoextract: Keyword 1.9 for ~m68k (diff)
downloadgentoo-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')
-rw-r--r--games-fps/doom-data-gog/Manifest1
-rw-r--r--games-fps/doom-data-gog/doom-data-gog-1.9.ebuild37
-rw-r--r--games-fps/doom-data-gog/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/games-fps/doom-data-gog/Manifest b/games-fps/doom-data-gog/Manifest
new file mode 100644
index 000000000000..bf463064281f
--- /dev/null
+++ b/games-fps/doom-data-gog/Manifest
@@ -0,0 +1 @@
+DIST setup_the_ultimate_doom_1.9_(28044).exe 19165952 BLAKE2B e4455b247907eb125f5f38da9dddadc02595f252cfc0df5460407f7e8d5e978188e371368d9a98fec5507be0293fcb17069fb8cf552ab737ba443a45b7f71c71 SHA512 b04044e0bae290d018ee4f876508f80d45042705573f479ddf4cd26ed0c8cb37bf44a680ad79f56cce2e0450f60706cf4405c202a4db88e0d39be5889ed95b23
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
+}
diff --git a/games-fps/doom-data-gog/metadata.xml b/games-fps/doom-data-gog/metadata.xml
new file mode 100644
index 000000000000..88274e035679
--- /dev/null
+++ b/games-fps/doom-data-gog/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>