1 # Maintainer: Jonathan Fine were.Vire_AT_gmail_DOT_com
3 pkgname=mokoigaming-luxengine
6 url="http://mokoi.info/"
9 pkgdesc="SDL-based game engine that runs mokoi games"
10 depends=(sdl_image sdl_gfx sdl_mixer libgl gcc-libs)
12 source=("http://sourceforge.net/projects/mokoi/files/Mokoi%20Gaming/$pkgver/MokoiGaming-0_92-source.tar.bz2" "luxengine.desktop" "mokoi.install")
13 md5sums=('a441e333b4d8fb05302e90e108deec9c'
14 '9909c5bb0ca3da9d04801e0670cf00b1'
15 '8eb69e5f30d50599e5884689bedfa352')
18 cd $srcdir/mokoi/luxengine
23 _mokoiDir=$srcdir/mokoi/MokoiGaming/
25 install -D -m 755 "$_mokoiDir/luxengine" "$pkgdir/usr/bin/luxengine"
26 install -D -m 644 luxengine.desktop "$pkgdir/usr/share/applications/luxengine.desktop"
27 install -D -m 644 "$_mokoiDir/extras/linux-mime.xml" "$pkgdir/usr/share/mime/packages/mokoi-mime.xml"
28 install -D -m 644 "$_mokoiDir/share/icons/hicolor/mokoi-gaming.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/mokoi-gaming.png"
29 install -D -m 644 "$_mokoiDir/share/icons/hicolor/scalable/apps/mokoi-gaming.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/mokoi-gaming.svg"
30 install -D -m 644 "$srcdir/mokoi/license.txt" "$pkgdir/usr/share/licenses/mokoigaming-luxengine/LICENSE"