moleinvasion, updated recipe to use in preparation of another recipe for the music files

This commit is contained in:
begasus
2016-07-01 19:30:02 +02:00
parent 5784744bb5
commit a5cae98415

View File

@@ -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
}