diff options
Diffstat (limited to 'games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild')
-rw-r--r-- | games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild b/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild new file mode 100644 index 000000000000..884a7ef7f3f1 --- /dev/null +++ b/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Improved models & textures for doomsday" +HOMEPAGE="http://www.doomsdayhq.com/" +SRC_URI="mirror://sourceforge/deng/jdoom-resource-pack-${PV}.zip + mirror://sourceforge/deng/jdoom-details.zip" + +LICENSE="free-noncomm" #505636 +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=games-fps/doomsday-1.9.8" +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +src_install() { + insinto "${GAMES_DATADIR}"/doomsday/data/jdoom/auto + doins data/jDoom/* *.pk3 + + # The definitions file cannot be auto-loaded + insinto "${GAMES_DATADIR}"/doomsday/defs/jdoom + doins defs/jDoom/* + + dodoc *.txt docs/* + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "Add the following to the jdoom/doomsday command-line options:" + elog " -def ${GAMES_DATADIR}/doomsday/defs/jdoom/jDRP.ded" +} |