Search:  
Gentoo Wiki

Ucpt:Games-adventure/queen/queen-1.0.ebuild

#

Image:Ebuild_file.png Games-adventure/queen/queen-1.0.ebuild

Download - Bugs - Discussion - History

Back to the Index

This is a fixed ebuild from the main portage tree.

#
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/queen/queen-0.ebuild,v 1.7 2004/11/05 04:39:35 josejx Exp $
# UCPT: fixed issue with savegames

inherit games

DESCRIPTION="Flight of the Amazon Queen is a 2D point-and-click adventure game set in the 1940s"
HOMEPAGE="http://scummvm.sourceforge.net/"
SRC_URI="mirror://sourceforge/scummvm/FOTAQ_Talkie.zip"

LICENSE="queen"
SLOT="0"
KEYWORDS="~amd64 ppc ~sparc x86"
IUSE=""

RDEPEND=">=games-engines/scummvm-0.6.0"
DEPEND="${RDEPEND}
	app-arch/unzip"

S="${WORKDIR}/FOTAQ_Talkie"

src_install() {
	mkdir -p ${D}/usr/games/bin
	cat > ${D}/usr/games/bin/queen << EOF
#!/bin/sh
SAVEPATH=~/.scummvm/${PN}
if [ ! -d "\$SAVEPATH" ]; then mkdir -p "\$SAVEPATH"; fi
scummvm --aspect-ratio --savepath="\$SAVEPATH" -f -p "${GAMES_DATADIR}/${PN}" queen
EOF
	insinto "${GAMES_DATADIR}/${PN}"
	doins queen.1c || die "doins failed"
	dodoc readme.txt
	prepgamesdirs
}
# 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/queen/queen-1.0.ebuild"

Last modified: Thu, 25 Aug 2005 14:51:00 +0000 Hits: 1,993