X-Git-Url: http://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/234c1f0f2bf40bcb17ee3bfbafad8ce081004354..6cbafea9bddf0954f8f473a4a4c0f9bf23efcfd6:/games-puzzle/spacechem-bin/spacechem-bin-1012.1.ebuild diff --git a/games-puzzle/spacechem-bin/spacechem-bin-1012.1.ebuild b/games-puzzle/spacechem-bin/spacechem-bin-1012.1.ebuild new file mode 100644 index 0000000..2a4b0c4 --- /dev/null +++ b/games-puzzle/spacechem-bin/spacechem-bin-1012.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="2" + +inherit eutils games + +DESCRIPTION="A design-based puzzle game from Zachtronics Industries." +HOMEPAGE="http://www.spacechemthegame.com/" + +MY_PN="SpaceChem" +MY_P="${MY_PN}-${PV//./-}" +SRC_URI="${MY_P}-hib.tar.gz" + +LICENSE="spacechem" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" +RESTRICT="fetch strip" + +RDEPEND=">=dev-lang/mono-2 + x11-misc/xclip + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from the link you received by e-mail" + einfo "when you purchased ${MY_PN} and place it in ${DISTDIR}" +} + +S=${WORKDIR} + +src_unpack() { + unpack "${A}" + cd "${S}" + unpack "./${MY_PN}-i386.deb" + unpack ./data.tar.gz +} + +src_install() { + dodir "/${GAMES_PREFIX_OPT}/${PN}/" + cd "${S}/opt/zachtronicsindustries/spacechem/" + + cp -R . "${D}/${GAMES_PREFIX_OPT}/${PN}" + + newicon icon.png "${PN}.png" + games_make_wrapper "${PN}" "mono SpaceChem.exe" "${ROOT}/${GAMES_PREFIX_OPT}/${PN}/" + make_desktop_entry "${PN}" "SpaceChem" "${PN}" "Game;LogicGame;" "Comment=Solve design-based challenges in this game from Zachtronics Industries" + + prepgamesdirs +}