games-fps/doom-data-gog: New package

Closes: https://bugs.gentoo.org/162111
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2022-02-20 22:36:21 +00:00
parent 101011a499
commit ff40d8908b
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST setup_the_ultimate_doom_1.9_(28044).exe 19165952 BLAKE2B e4455b247907eb125f5f38da9dddadc02595f252cfc0df5460407f7e8d5e978188e371368d9a98fec5507be0293fcb17069fb8cf552ab737ba443a45b7f71c71 SHA512 b04044e0bae290d018ee4f876508f80d45042705573f479ddf4cd26ed0c8cb37bf44a680ad79f56cce2e0450f60706cf4405c202a4db88e0d39be5889ed95b23

View File

@@ -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
}

View File

@@ -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>