From 8c02719288ebaf88394e93c7dbecfba1622efc1f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 28 Feb 2016 19:33:03 +0100 Subject: [PATCH] games-arcade/notpacman: use love-app.exlib --- .../notpacman/notpacman-1.0.4.exheres-0 | 36 ++----------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/packages/games-arcade/notpacman/notpacman-1.0.4.exheres-0 b/packages/games-arcade/notpacman/notpacman-1.0.4.exheres-0 index 760d170..da2ccd6 100644 --- a/packages/games-arcade/notpacman/notpacman-1.0.4.exheres-0 +++ b/packages/games-arcade/notpacman/notpacman-1.0.4.exheres-0 @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 require gtk-icon-cache - -LOVE_SLOT="0.7" +require love-app [ loveslot="0.7" lovezip=true lovepn="not_pacman" ] SUMMARY="A mashup of \"Not\" and \"Pacman\"" HOMEPAGE="http://stabyourself.net/notpacman/" @@ -14,42 +13,11 @@ LICENCES="WTFPL-2" SLOT="0" PLATFORMS="~amd64 ~x86" -DEPENDENCIES=" - build: - virtual/unzip - run: - games-engines/love:${LOVE_SLOT} -" - -WORK=${WORKBASE} src_install() { - local dir=/usr/share/love/${PN} - - exeinto "${dir}" - newexe not_pacman.love ${PN}.love - - dodoc README + love-app_src_install insinto /usr/share/icons/hicolor/32x32/apps doins "${FETCHEDDIR}"/${PN}.png - - herebin ${PN} << EOF -#!/bin/sh -cd "${dir}" -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 }