1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Perspective based puzzle game, where you flatten the view to move across gaps"
8 HOMEPAGE="https://stabyourself.net/orthorobot/"
9 SRC_URI="https://stabyourself.net/dl.php?file=${PN}/${PN}-source.zip -> ${P}.zip"
11 LICENSE="CC-BY-NC-ND-3.0"
13 KEYWORDS="~amd64 ~x86"
15 RDEPEND=">=games-engines/love-0.8.0:0"
16 DEPEND="app-arch/unzip"
22 #it is only one .love file (but with crappy name), so we can use asterisk
23 mv *.love "${P}.zip" || die 'mv failed'
25 rm "${P}.zip" || die 'rm failed'
31 sed -i -e 's/love.event.push("q")/love.event.push(fadegoal)/' menu.lua || die 'sed failed'
35 local dir="/usr/share/love/${PN}"
38 make_wrapper "${PN}" "love ${dir}"
39 make_desktop_entry "${PN}"