1 # Maintainer: Jarosla Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: rabyte <rabyte*gmail>
7 pkgdesc="Take on the role of a god and satisfy the needs of your believers"
9 url="http://mfgames.com/cutegod/start"
11 depends=('mono' 'devil' 'sdl_mixer' 'sdl_net' 'sdl_image' 'sdl_ttf' 'sdl_gfx' 'smpeg' 'freeglut' 'physfs' 'perl')
12 makedepends=('nant' 'patch')
13 source=(http://mfgames.com/releases/$pkgname/$pkgname-$pkgver.tar.bz2 \
14 http://mfgames.com/releases/$pkgname/$pkgname-data-$pkgver.zip \
16 $pkgname-gamedir.diff)
17 md5sums=('126e0612af692ae4bee41a261eeae4b4'
18 '73fc19011fa80887752d819309009bd5'
19 '9fe6d977ed2d06ac236b2720e5f93696'
20 '9639c49a578220166dac592ea55ed80c')
25 patch -Np1 -i ../$pkgname-gamedir.diff
26 patch -Np1 -i ../libs-filenames.diff
28 sed -e 's|fnant|nant|g' \
29 -e 's|build-debug|build|g' \
32 export MONO_SHARED_DIR=$(pwd)
40 install -D -m755 tools/$pkgname ${pkgdir}/usr/bin/$pkgname
41 install -d ${pkgdir}/usr/share/$pkgname
42 cp -rf Assets/ CuteGod/bin/Release/* $pkgdir/usr/share/$pkgname/
44 # i don't want executable exe files on my linux box
45 chmod 644 ${pkgdir}/usr/share/$pkgname/CuteGod.exe