summaryrefslogtreecommitdiff
blob: 5997d3b7b8770ea85f95da1d4ff4404f86938165 (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
35
36
37
38
39
40
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils games

DESCRIPTION="Touche: The Adventures of the Fifth Musketeer (interactive demo)"
HOMEPAGE="http://wiki.scummvm.org/index.php/Touch%C3%A9:_The_Adventures_of_the_Fifth_Musketeer"
SRC_URI="http://gentooexperimental.org/~unlord/touche_demo.zip"

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

RDEPEND=">=games-engines/scummvm-0.10.0"
DEPEND="app-arch/unzip"

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

src_install() {
	insinto "${dir}"
	doins DATABASE/TOUCHE.DAT \
		OBJ \
		V100 \
		V101 \
		V103 \
		V26 \
		V91 \
		V93 \
		V97 \
		V98 || die "doins failed"

	games_make_wrapper ${PN} "scummvm -f -p \"${dir}\" touche"
	make_desktop_entry ${PN} "Touche: The Adventures of the Fifth Musketeer (Demo)"

	prepgamesdirs
}