summaryrefslogtreecommitdiff
blob: cfa75093c8262d8280b809d337ff4638699a5f60 (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-2009 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}

src_install() {
	local dir=${GAMES_DATADIR}/${PN}
	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
}