diff options
Diffstat (limited to 'games-rpg/mi1-demo/mi1-demo-1.ebuild')
-rw-r--r-- | games-rpg/mi1-demo/mi1-demo-1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games-rpg/mi1-demo/mi1-demo-1.ebuild b/games-rpg/mi1-demo/mi1-demo-1.ebuild new file mode 100644 index 000000000..0eed577c8 --- /dev/null +++ b/games-rpg/mi1-demo/mi1-demo-1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils games + +DESCRIPTION="The Secret of Monkey Island (interactive demo)" +HOMEPAGE="http://www.worldofmi.com/thegames/monkey1/" +SRC_URI="http://gentooexperimental.org/~unlord/${PN}.zip" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RESTRICT="strip" + +RDEPEND=">=games-engines/scummvm-0.8.2" +DEPEND="app-arch/unzip" + +S=${WORKDIR} +dir=${GAMES_DATADIR}/${PN} + +src_install() { + insinto "${dir}" + doins *.{LEC,LFL} || die "doins failed" + + games_make_wrapper ${PN} "scummvm -f -p \"${dir}\" monkey" + doicon "${FILESDIR}/${PN}.png" || die "newicon failed" + make_desktop_entry ${PN} "Secret of Monkey Island (Demo)" ${PN}.png + + prepgamesdirs +} |