From 7a3a1bb43e37d36cb27ae8eff399d69b37595220 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sat, 10 Mar 2012 17:01:06 -0500 Subject: [PATCH] Add cavestory+ ebuild. --- games-action/cavestory+/Manifest | 2 + .../cavestory+/cavestory+-20111221.ebuild | 49 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 games-action/cavestory+/Manifest create mode 100644 games-action/cavestory+/cavestory+-20111221.ebuild diff --git a/games-action/cavestory+/Manifest b/games-action/cavestory+/Manifest new file mode 100644 index 0000000..659f965 --- /dev/null +++ b/games-action/cavestory+/Manifest @@ -0,0 +1,2 @@ +DIST cavestoryplus-linux-1324519044.tar.gz 86612108 RMD160 2015b01ac5946774119fa10c3c7e2550811eab09 SHA1 147b9e4795bed07e8fd4029d66900d23da31c775 SHA256 4c081f6416245f53b45f10e1d73d320ecd3ce1f1159a1ded6a2aae85e0c21e03 +EBUILD cavestory+-20111221.ebuild 950 RMD160 a5ded853248e5d75fc22aa616641e7ca84f0781e SHA1 216ca9db02a5faacd7d01df8aedfd1b233c5664f SHA256 12a78f3445adf8daa43d3100c855665ad2b731ac4e51ff5d7e95b42e049dc115 diff --git a/games-action/cavestory+/cavestory+-20111221.ebuild b/games-action/cavestory+/cavestory+-20111221.ebuild new file mode 100644 index 0000000..a63b014 --- /dev/null +++ b/games-action/cavestory+/cavestory+-20111221.ebuild @@ -0,0 +1,49 @@ +EAPI=3 + +inherit eutils games + +MY_P="cavestoryplus-linux-1324519044" + +DESCRIPTION="An updated version of Cave Story by Studio Pixel" +HOMEPAGE="http://www.nicalis.com/games.php?game=cavestory" +SRC_URI="${MY_P}.tar.gz" +RESTRICT="fetch" + +QA_PRESTRIPPED="${GAMES_PREFIX_OPT}/${PN}/CaveStory+"'\(_64\)\?' + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="media-gfx/imagemagick[png]" +RDEPEND="media-libs/libsdl[opengl]" + +S="${WORKDIR}/CaveStory+" + +pkg_nofetch() { + ewarn + ewarn "Download ${A} to ${DISTDIR}." + ewarn +} + +src_compile() { + convert "data/icon.bmp" "${PN}.png" || die "failed to convert icon." +} + +src_install() { + local dir="${GAMES_PREFIX_OPT}/${PN}" + local exe="CaveStory+$(usex amd64 '_64' '')" + + exeinto "${dir}" + doexe "CaveStory+$(usex amd64 '_64' '')" + + insinto "${dir}" + doins -r data + + doicon "${PN}.png" + make_desktop_entry "${PN}" "Cave Story+" + games_make_wrapper "${PN}" "${dir}/${exe}" "${dir}" + + prepgamesdirs +} -- 2.43.0