From a5cae98415e332a0f2b62dba2e1f3819b4775ff6 Mon Sep 17 00:00:00 2001 From: begasus Date: Fri, 1 Jul 2016 19:30:02 +0200 Subject: [PATCH] moleinvasion, updated recipe to use in preparation of another recipe for the music files --- .../moleinvasion/moleinvasion-0.4.recipe | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/games-arcade/moleinvasion/moleinvasion-0.4.recipe b/games-arcade/moleinvasion/moleinvasion-0.4.recipe index 5b7b14537..0f97701c2 100644 --- a/games-arcade/moleinvasion/moleinvasion-0.4.recipe +++ b/games-arcade/moleinvasion/moleinvasion-0.4.recipe @@ -1,4 +1,4 @@ -SUMMARY="Mole Invasion is a 2D platform adventure game for TUX" +SUMMARY="A 2D platform adventure game for TUX" DESCRIPTION="Mole Invasion is a 2D platform adventure game for TUX, \ getting to kill the evil moles from the different scenarios." HOMEPAGE="http://moleinvasion.tuxfamily.org/" @@ -12,7 +12,8 @@ PATCHES="moleinvasion-0.4.patch" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" - cmd:moleinvasion = $portVersion + moleinvasion + app:MoleInvasion = $portVersion cmd:moleinvasion_editlevel = $portVersion cmd:moleinvasion_editworld = $portVersion " @@ -43,14 +44,15 @@ BUILD_PREREQUIRES=" BUILD() { cd src - make DESTDIR=$binDir FINALEXEDIR=$binDir FINALDATADIR=$dataDir + make DESTDIR=$appsDir/MoleInvasion FINALEXEDIR=$appsDir/MoleInvasion \ + FINALDATADIR=$appsDir/MoleInvasion } INSTALL() { - mkdir -p music cd src - make install DESTDIR=$binDir - make install-data DESTDIR=$dataDir - addAppDeskbarSymlink $binDir/moleinvasion MoleInvasion + make install DESTDIR=$appsDir/MoleInvasion + make install-data DESTDIR=$appsDir/MoleInvasion + mv $appsDir/MoleInvasion/moleinvasion $appsDir/MoleInvasion/MoleInvasion + addAppDeskbarSymlink $appsDir/MoleInvasion/MoleInvasion }