From 75f4fbeb17842694b11c614a11777953e60b9699 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Sun, 7 Oct 2012 00:09:25 +0400 Subject: [PATCH] add ebuild for trosh --- games-action/trosh/Manifest | 3 ++ games-action/trosh/metadata.xml | 8 +++++ games-action/trosh/trosh-1.0.ebuild | 51 +++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 games-action/trosh/Manifest create mode 100644 games-action/trosh/metadata.xml create mode 100644 games-action/trosh/trosh-1.0.ebuild diff --git a/games-action/trosh/Manifest b/games-action/trosh/Manifest new file mode 100644 index 0000000..c18394e --- /dev/null +++ b/games-action/trosh/Manifest @@ -0,0 +1,3 @@ +DIST trosh-1.0.zip 5181925 SHA256 37375e6ced53dd2457644fdad1c3eeb0df1aeaf9c65ab776b54dc0d34c667116 SHA512 491246103e3602c558070218926a9734024a2a01945c09912497f1d31b068bd1f555e459fcbe1b1bb396a13a35c01fadffe84770ee2cbeca97b70cbf66043ef7 WHIRLPOOL fd839c4b1ad07f0d98a381f83ba2df562266d9b2506d10b71d048aefd985b2280ce342c72249bd11a088c4c7a51047ce146a18db0c18e4b228f0fd87839b52a1 +EBUILD trosh-1.0.ebuild 986 SHA256 993d24e62fbd35b4aec4e2159d56114b688b1a34afea1f01af73c4848b7e796d SHA512 2febd8cf336e8904eb15deae45386947914c8fb7256a4d5cb139202b0525d964fc735389f9db8a3a111f7bf32142b6d2a158e0a45b166898809344b908c2df33 WHIRLPOOL 80c00483b5728537c3fcf99e5e00a22a6ead01b6600f586d42d3d42b5cd48dd5d932be0f8fb5dffa5e4f57f258781f33f0321d92d603e146d91e7dc64781be8a +MISC metadata.xml 231 SHA256 7596f4acd11f03a92d9066e5e12cb03e424f10e74c2cf1019101ee09c54186b4 SHA512 6a5adf9639104e5c81462c7ed84d06e5d70b7db33d6820f8fd5e0fac39a5b3c079d9a02d066def8a4a61c56ddaea7a19e1bb62fad6555a0ecc87dd2b652196d9 WHIRLPOOL 92227640d49b57878f75bf98cd589dd91a9f7dfd6f38c330d60a42ecd82f66d9d72413711d0873e59d190865e5c17cc74e898eae01f5c18238a2ee5c299a6e90 diff --git a/games-action/trosh/metadata.xml b/games-action/trosh/metadata.xml new file mode 100644 index 0000000..461f335 --- /dev/null +++ b/games-action/trosh/metadata.xml @@ -0,0 +1,8 @@ + + + + + admin@pinkbyte.ru + Sergey Popov + + diff --git a/games-action/trosh/trosh-1.0.ebuild b/games-action/trosh/trosh-1.0.ebuild new file mode 100644 index 0000000..19aa99c --- /dev/null +++ b/games-action/trosh/trosh-1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils gnome2-utils games + +DESCRIPTION="The unshakeable mountain of a person with sunglasses on his quest to space and back" +HOMEPAGE="http://stabyourself.net/trosh/" +SRC_URI="http://stabyourself.net/dl.php?file=trosh/${PN}-source.zip -> ${P}.zip" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=games-engines/love-0.8.0" +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +src_install() { + local dir=${GAMES_DATADIR}/love/${PN} + + exeinto "${dir}" + doexe ${PN}.love + + games_make_wrapper ${PN} "love ${PN}.love" "${dir}" + make_desktop_entry ${PN} + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + elog + elog "${PN} savegames and configurations are stored in:" + elog "~/.local/share/love/${PN}/" + elog + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}