diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
commit | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch) | |
tree | 852c90a4bf354c30ea66504f70bfab5401fba18d /games-arcade/orthorobot/orthorobot-0-r1.ebuild | |
parent | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff) |
gentoo resync : 28.04.2018
Diffstat (limited to 'games-arcade/orthorobot/orthorobot-0-r1.ebuild')
-rw-r--r-- | games-arcade/orthorobot/orthorobot-0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games-arcade/orthorobot/orthorobot-0-r1.ebuild b/games-arcade/orthorobot/orthorobot-0-r1.ebuild new file mode 100644 index 000000000000..69e0533a32ca --- /dev/null +++ b/games-arcade/orthorobot/orthorobot-0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Perspective based puzzle game, where you flatten the view to move across gaps" +HOMEPAGE="http://stabyourself.net/orthorobot/" +SRC_URI="http://stabyourself.net/dl.php?file=${PN}/${PN}-source.zip -> ${P}.zip" + +LICENSE="CC-BY-NC-ND-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=games-engines/love-0.8.0:0" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_unpack() { + default + #it is only one .love file (but with crappy name), so we can use asterisk + mv *.love "${P}.zip" || die 'mv failed' + unpack "./${P}.zip" + rm "${P}.zip" || die 'rm failed' +} + +src_prepare() { + default + # fix error on quit + sed -i -e 's/love.event.push("q")/love.event.push(fadegoal)/' menu.lua || die 'sed failed' +} + +src_install() { + local dir="/usr/share/love/${PN}" + insinto "${dir}" + doins -r . + make_wrapper "${PN}" "love ${dir}" + make_desktop_entry "${PN}" +} |