diff options
author | Vadim A. Misbakh-Soloviov <mva@mva.name> | 2014-06-05 17:14:40 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <mva@mva.name> | 2014-06-05 17:14:40 +0700 |
commit | 57129086bceb471855665665b14b3c1cfac72a26 (patch) | |
tree | 8f9d4628fe0a38a4c68327cd7ea26b46f8e83328 /games-arcade/orthorobot/orthorobot-0.ebuild | |
parent | [net-im/prosody-modules] bump (diff) | |
download | lua-57129086bceb471855665665b14b3c1cfac72a26.tar.gz lua-57129086bceb471855665665b14b3c1cfac72a26.tar.bz2 lua-57129086bceb471855665665b14b3c1cfac72a26.zip |
[games-indie -> games-arcade]
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'games-arcade/orthorobot/orthorobot-0.ebuild')
-rw-r--r-- | games-arcade/orthorobot/orthorobot-0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-arcade/orthorobot/orthorobot-0.ebuild b/games-arcade/orthorobot/orthorobot-0.ebuild new file mode 100644 index 0000000..81bef99 --- /dev/null +++ b/games-arcade/orthorobot/orthorobot-0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: This ebuild is from Lua overlay; Bumped by mva; $ + +EAPI="5" + +inherit eutils games + +DESCRIPTION="Nice perspective based puzzle game, where you flatten the view to move across gaps." +HOMEPAGE="http://stabyourself.net/${PN}/" +SRC_URI="http://stabyourself.net/dl.php?file=${PN}/${PN}-source.zip -> ${P}.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="" + +DEPEND=">=games-engines/love-0.8.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + default + #it is only one .love file (but with crappy name), so we can use asterisk + mv *.love "${P}.zip" + unpack "./${P}.zip" + rm "${P}.zip" +} + +src_prepare() { + default + epatch_user +} + +src_install() { + local dir="${GAMES_DATADIR}/love/${PN}" + insinto "${dir}" + doins -r . + games_make_wrapper "${PN}" "love /usr/share/games/love/${P}" + make_desktop_entry "${PN}" + prepgamesdirs +} + +pkg_postinst() { + elog "${PN} savegames and configurations are stored in:" + elog "~/.local/share/love/${PN}/" +} + |