From 0e86190911d48e84133bb90f08dd44ed488d596f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 27 Feb 2016 22:15:19 +0100 Subject: [PATCH] games-arcade/mrrescue: initial import of version 1.02d --- .../mrrescue/mrrescue-1.02d.exheres-0 | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 packages/games-arcade/mrrescue/mrrescue-1.02d.exheres-0 diff --git a/packages/games-arcade/mrrescue/mrrescue-1.02d.exheres-0 b/packages/games-arcade/mrrescue/mrrescue-1.02d.exheres-0 new file mode 100644 index 00000000..13c579fe --- /dev/null +++ b/packages/games-arcade/mrrescue/mrrescue-1.02d.exheres-0 @@ -0,0 +1,52 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require gtk-icon-cache + +LOVE_SLOT="0.10" + +SUMMARY="Arcade styled 2d action game centered around evacuating civilians from burning buildings" +HOMEPAGE="http://tangramgames.dk/games/mrrescue/" +DOWNLOADS="https://github.com/SimonLarsen/mrrescue/releases/download/v${PV}/${PNV}.love + https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" + +LICENCES="CCPL-Attribution-ShareAlike-3.0 MIT ZLIB" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + run: + games-engines/love:${LOVE_SLOT} +" + +WORK=${WORKBASE} + +src_install() { + local dir=/usr/share/love/${PN} + + exeinto "${dir}" + newexe "${FETCHEDDIR}"/${PNV}.love ${PN}.love + + insinto /usr/share/icons/hicolor/64x64/apps + doins "${FETCHEDDIR}"/${PN}.png + + herebin ${PN} << EOF +#!/bin/sh +cd "/usr/share/love/${PN}" +exec love-${LOVE_SLOT} ${PN}.love "\$@" +EOF + + insinto /usr/share/applications + hereins ${PN}.desktop << EOF +[Desktop Entry] +Name=${PN} +Type=Application +Comment=${SUMMARY} +Exec=${PN} +TryExec=${PN} +Icon=${PN} +Categories=Game;ArcadeGame; +EOF +} +