You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
805 B
36 lines
805 B
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Data files for Final DOOM from gog.com"
|
|
HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom"
|
|
SRC_URI="setup_final_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=/Plutonia/PLUTONIA.WAD \
|
|
--include=/TNT/TNT.WAD \
|
|
--include=/Manual.pdf \
|
|
"${DISTDIR}/${A}" || die
|
|
|
|
insinto /usr/share/doom
|
|
doins plutonia/plutonia.wad tnt/tnt.wad
|
|
|
|
dodoc manual.pdf
|
|
}
|