mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
games-fps/doom2-data-gog: New package
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
1
games-fps/doom2-data-gog/Manifest
Normal file
1
games-fps/doom2-data-gog/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST setup_doom_ii_with_master_levels_1.9_(28044).exe 21288152 BLAKE2B f09df33a5fc7c6d0037d49663de0e515f30ce97a8acc3f7feadc2744eb5d1e5541372b1e00e8e3e1c4ab2ec7fc7d275b637002a3080f8792c85ebcc05e1113bf SHA512 e28bc4a76d85de70a198905e7ce76810d163d6b84c1d51a341fa35490eaa609d29fddbca17280f434847d3fce20b698cabeb561be587b165243f1da48273b7bc
|
||||
40
games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild
Normal file
40
games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Data files for DOOM II and the Master Levels from gog.com"
|
||||
HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom"
|
||||
SRC_URI="setup_doom_ii_with_master_levels_${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=/doom2/DOOM2.WAD \
|
||||
--include=/master/wads \
|
||||
--include=/Manual.pdf \
|
||||
"${DISTDIR}/${A}" || die
|
||||
|
||||
insinto /usr/share/doom
|
||||
doins doom2/doom2.wad
|
||||
|
||||
insinto /usr/share/doom/master
|
||||
doins master/wads/*.wad
|
||||
|
||||
dodoc manual.pdf
|
||||
docinto master
|
||||
dodoc master/wads/*.txt
|
||||
}
|
||||
12
games-fps/doom2-data-gog/metadata.xml
Normal file
12
games-fps/doom2-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