1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild,v 1.2 2006/12/06 20:33:26 wolf31o2 Exp $
7 DESCRIPTION
="Eschalon Book I is an turn-based fantasy RPG game"
8 HOMEPAGE
="http://www.basiliskgames.com/book1.htm"
9 SRC_URI
="eschalon_book_1_demo.tar.gz"
15 RESTRICT
="fetch strip"
26 amd64? ( app-emulation/emul-linux-x86-xlibs ) "
28 S
="${WORKDIR}/eschalon_book_1_demo"
29 dir
="${GAMES_PREFIX_OPT}/${PN}"
33 einfo
"Please download ${At} from:"
44 mv -f "Eschalon Players Manual.pdf" "${D}/usr/share/doc/${PF}/"
46 doins
-r data music sound gfx.pak eschalon.cfg || die
"cp failed"
47 doexe eschalon_book_1_demo
49 fperms
660 "${dir}"/eschalon.cfg
51 games_make_wrapper
${PN} ./eschalon_book_1_demo "${dir}" "${dir}"
53 newicon launch_icon.png ${PN}.png || die
55 make_desktop_entry ${PN} "Eschalon Book I
(Demo
)" ${PN}.png