summaryrefslogtreecommitdiff
blob: 49b84186d2b43e7fc22194c0876a68c7113b8dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils games

DESCRIPTION="Indiana Jones and the Fate of Atlantis (interactive demo)"
HOMEPAGE="http://www.theindyexperience.com/video_games/fate_of_atlantis_graphic_adventure.php"
SRC_URI="http://gentooexperimental.org/~unlord/${PN}.rar"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RESTRICT="strip"

RDEPEND=">=games-engines/scummvm-0.8.2"
DEPEND="|| (
	app-arch/unrar
	app-arch/rar )"

S=${WORKDIR}
dir=${GAMES_DATADIR}/${PN}

src_install() {
	insinto "${dir}"
	doins PLAYFATE.{000,001} || die "doins failed"

	games_make_wrapper ${PN} "scummvm -f -p \"${dir}\" atlantis"
	doicon "${FILESDIR}/${PN}.png" || die "doicon failed"
	make_desktop_entry ${PN} "Indiana Jones and the Fate of Atlantis (Demo)" ${PN}.png

	prepgamesdirs
}