updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / mokoigaming-luxengine / PKGBUILD
blob59e3c9c63dc468c46e5aff060448ebcddf5c4846
1 # Maintainer: Jonathan Fine were.Vire_AT_gmail_DOT_com
3 pkgname=mokoigaming-luxengine
4 pkgver=0.92
5 pkgrel=1
6 url="http://mokoi.info/"
7 arch=('i686' 'x86_64')
8 license=('zlib')
9 pkgdesc="SDL-based game engine that runs mokoi games"
10 depends=(sdl_image sdl_gfx sdl_mixer libgl gcc-libs)
11 install=mokoi.install
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')
17 build() {
18         cd $srcdir/mokoi/luxengine
19         make
22 package() {
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"