lmarbles: Add icon, move config file to B_USER_SETTINGS_DIRECTORY

This commit is contained in:
Puck Meerburg
2015-01-05 20:05:06 +01:00
parent 1c16ca85a0
commit dc9380de65
4 changed files with 150 additions and 25 deletions

View File

@@ -9,17 +9,16 @@ and not a time limit. This way you have as much time as you need to think."
HOMEPAGE="http://lgames.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/lgames/files/lmarbles/lmarbles-1.0.8.tar.gz"
CHECKSUM_SHA256="0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83"
REVISION="1"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 Michael Speck"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PATCHES="lmarbles-1.0.8.patch"
GLOBAL_WRITABLE_FILES="var/lmarbles.prfs keep-old"
PATCHES="lmarbles-1.0.8.patchset"
PROVIDES="
lmarbles = $portVersion
cmd:lmarbles = $portVersion
app:LMarbles = $portVersion
"
REQUIRES="
@@ -39,6 +38,7 @@ BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:xres
"
BUILD()
@@ -46,10 +46,15 @@ BUILD()
libtoolize --force --copy --install
runConfigure ./configure
make $jobArgs
addResourcesToBinaries $portDir/additional-files/lmarbles.rdef src/lmarbles
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/lmarbles LMarbles
mkdir -p $appsDir
mv $binDir/lmarbles $appsDir/LMarbles
addAppDeskbarSymlink $appsDir/LMarbles LMarbles
mimeset -f $appsDir/LMarbles
}