mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
1
games-fps/doom-data-gog/Manifest
Normal file
1
games-fps/doom-data-gog/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST setup_the_ultimate_doom_1.9_(28044).exe 19165952 BLAKE2B e4455b247907eb125f5f38da9dddadc02595f252cfc0df5460407f7e8d5e978188e371368d9a98fec5507be0293fcb17069fb8cf552ab737ba443a45b7f71c71 SHA512 b04044e0bae290d018ee4f876508f80d45042705573f479ddf4cd26ed0c8cb37bf44a680ad79f56cce2e0450f60706cf4405c202a4db88e0d39be5889ed95b23
|
||||
37
games-fps/doom-data-gog/doom-data-gog-1.9.ebuild
Normal file
37
games-fps/doom-data-gog/doom-data-gog-1.9.ebuild
Normal 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
|
||||
}
|
||||
12
games-fps/doom-data-gog/metadata.xml
Normal file
12
games-fps/doom-data-gog/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user