From a618b4d1b08a6bf6ab302945b58df68d91498890 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 29 Feb 2016 00:12:44 +0100 Subject: [PATCH] games-arcade/duckmarines: use love-app.exlib --- .../duckmarines/duckmarines-1.0.exheres-0 | 38 +------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/packages/games-arcade/duckmarines/duckmarines-1.0.exheres-0 b/packages/games-arcade/duckmarines/duckmarines-1.0.exheres-0 index a333b9f..d0c31c8 100644 --- a/packages/games-arcade/duckmarines/duckmarines-1.0.exheres-0 +++ b/packages/games-arcade/duckmarines/duckmarines-1.0.exheres-0 @@ -1,7 +1,7 @@ # Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -LOVE_SLOT="0.9" +require love-app [ loveslot="0.9" lovezip=true lovepn=${PNV} ] SUMMARY="Free software ChuChu Rocket remake for PC" HOMEPAGE="http://tangramgames.dk/games/duckmarines/" @@ -16,40 +16,6 @@ LICENCES=" " SLOT="0" PLATFORMS="~amd64 ~x86" -MYOPTIONS="" -RESTRICT="mirror" -DEPENDENCIES=" - build: - virtual/unzip - run: - games-engines/love:${LOVE_SLOT} -" - -WORK=${WORK}-love - -src_install() { - local dir=/usr/share/love/${PN} - - exeinto "${dir}" - newexe ${PNV}.love ${PN}.love - - 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 -} +WORK=${WORKBASE}/${PNV}-love