1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild,v 1.9 2009/05/22 21:47:48 mr_bones_ Exp $
9 DESCRIPTION="A design-based puzzle game from Zachtronics Industries."
10 HOMEPAGE="http://www.spacechemthegame.com/"
13 MY_P="${MY_PN}-${PV//./-}"
14 SRC_URI="${MY_P}-hib.tar.gz"
18 KEYWORDS="-* amd64 x86"
20 RESTRICT="fetch strip"
22 RDEPEND=">=dev-lang/mono-2
29 einfo "Please download ${SRC_URI} from the link you received by e-mail"
30 einfo "when you purchased ${MY_PN} and place it in ${DISTDIR}"
38 unpack "./${MY_PN}-i386.deb"
43 dodir "/${GAMES_PREFIX_OPT}/${PN}/"
44 cd "${S}/opt/zachtronicsindustries/spacechem/"
46 cp -R . "${D}/${GAMES_PREFIX_OPT}/${PN}"
48 newicon icon.png "${PN}.png"
49 games_make_wrapper "${PN}" "mono SpaceChem.exe" "${ROOT}/${GAMES_PREFIX_OPT}/${PN}/"
50 make_desktop_entry "${PN}" "SpaceChem" "${PN}" "Game;LogicGame;" "Comment=Solve design-based challenges in this game from Zachtronics Industries"