1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit desktop eutils gnome2-utils
8 DESCRIPTION="A game made in 20 hours for a friend. It has explosions"
9 HOMEPAGE="https://stabyourself.net/trosh/"
10 SRC_URI="https://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${P}.zip
11 https://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
15 KEYWORDS="~amd64 ~x86"
18 >=games-engines/love-0.8.0:0
21 DEPEND="app-arch/unzip"
26 local dir=/usr/share/love/${PN}
33 doicon -s 32 "${DISTDIR}"/${PN}.png
34 make_wrapper ${PN} "love ${PN}.love" "${dir}"
35 make_desktop_entry ${PN}
43 gnome2_icon_cache_update
47 gnome2_icon_cache_update