diff options
Diffstat (limited to 'games-rpg/dragonhunt')
-rw-r--r-- | games-rpg/dragonhunt/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild | 88 |
2 files changed, 0 insertions, 89 deletions
diff --git a/games-rpg/dragonhunt/Manifest b/games-rpg/dragonhunt/Manifest index c5301d938f4d..d52401dc489c 100644 --- a/games-rpg/dragonhunt/Manifest +++ b/games-rpg/dragonhunt/Manifest @@ -1,4 +1,3 @@ DIST Dragon_Hunt-3.56.tar.gz 2170718 BLAKE2B 4d5b16921867bb7e0b14991184fc4f7a90ca7dbc6c87f4565a4626fb26d413cd4805099bb4973b45fde3758de4845489898c89b5981d34af7e8d03b2874286a5 SHA512 86ca32436088e8cda8993e21ebe6180f8361eb8bf5e052b3744a1db50073826118d1db657d713c7d75cd78c50c78c940caaf7adc5d31ad895d02a44f82b1e72a -EBUILD dragonhunt-3.56-r1.ebuild 2237 BLAKE2B 7733a1db8b5f22973190509a47dc63c42d1ce9abbf509c591dfb21cb42eea830262f75b3ef813b62b0b82430cb2337f8527435a262089f8c4e38521f4230b695 SHA512 ecf1133f2be4da5f20b3576708665545db9fa08ed37de4b03d574a82d0c6f43e043cce9224ff370aa61f8bef1e87ec08412bf61d33a1be3c01ad5fd0651a88aa EBUILD dragonhunt-3.56-r2.ebuild 2110 BLAKE2B dcfe8c5410797eaf81b0e53f6264b916928ec06aaf6701e3cbee8fb27e2a9db8992ed27969f3dee96e98c8ed7ef3fa4fad650abeda8430227788c6a19df20dda SHA512 12562488edba40cbc108d8ebdd956b842be85c17b7e5baeaf3594a5c0fbdc79dfd7b592c862d8a7cebce5a1e32b5e6bfe2b7c429dee69426042c70ce624ba199 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild b/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild deleted file mode 100644 index a75bc878dfd0..000000000000 --- a/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 games - -MY_P="Dragon_Hunt-${PV}" -DESCRIPTION="A simple graphical RPG" -HOMEPAGE="http://emhsoft.com/dh.html" -SRC_URI="http://emhsoft.com/dh/${MY_P}.tar.gz" - -LICENSE="GPL-2 CC-SA-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - dev-python/pygame[${PYTHON_USEDEP}]" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - games_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - # Where to look for modules to load. - sed -i "s:\.\./modules/:${GAMES_DATADIR}/${PN}/:" \ - code/g.py \ - code/map_editor.py \ - code/rpg.py || die - - # Where to look for keybinding - sed -i "s:\.\./settings:${GAMES_SYSCONFDIR}/${PN}/settings:" \ - code/g.py || die - - # Save games in ~/.${PN}/. - sed -i \ - -e "s:^\(from os import.*\):\1\, environ:" \ - -e "s:g.mod_dir.*\"/saves/\?\":environ[\"HOME\"] + \"/.${PN}/\":" \ - code/g.py code/loadgame.py || die - - # Save maps in ~/. - sed -i \ - -e "s:^\(from os import.*\):\1\, environ:" \ - -e "s:g.mod_dir.*\"map\.txt\":environ[\"HOME\"]\ +\ \"/dh_map.txt\":" \ - code/map_editor.py || die -} - -src_install() { - insinto "${GAMES_DATADIR}"/${PN} - doins -r modules/* - - insinto "${GAMES_SYSCONFDIR}"/${PN} - doins settings.txt - - insinto "$(games_get_libdir)"/${PN} - doins code/*.py - - games_make_wrapper ${PN} "${EPYTHON} ./rpg.py" "$(games_get_libdir)"/${PN} - games_make_wrapper ${PN}-mapeditor "${EPYTHON} ./map_editor.py" \ - "$(games_get_libdir)"/${PN} - - newicon modules/default/images/buttons/icon.png ${PN}.png - make_desktop_entry ${PN} "Dragon Hunt" - make_desktop_entry ${PN}-mapeditor "Dragon Hunt - Editor" - - dodoc README.txt docs/{Changelog,Items.txt,example_map.txt,tiles.txt} - dohtml docs/*.html - - python_optimize "${ED}$(games_get_libdir)"/${PN} \ - "${ED}${GAMES_DATADIR}/${PN}/Dark Ages/data/make_map.py" - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - echo - elog "If you use the map editor then note that maps will be saved as" - elog "~/dh_map.txt and must be move to the correct module directory" - elog "(within ${GAMES_DATADIR}/${PN}) by hand." - echo -} |