updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / kazama / PKGBUILD
blobcc0f9c3ca33ed7aa627d6b1c85a2fbf51693001b
1 # Contributor: rabyte <rabyte__gmail>
3 pkgname=kazama
4 pkgver=20110118
5 pkgrel=1
6 pkgdesc="A fighting game engine similar to MUGEN, with online capabilities"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/$pkgname/"
9 license=('GPL2')
10 depends=('python-pygame')
11 [ "$CARCH" = "i686" ] && optdepends=('psyco (improved loading times)')
12 source=(http://downloads.sourceforge.net/$pkgname/kazama_source_$pkgver.zip \
13         $pkgname.sh)
14 md5sums=('ecd8476d4f462c5afb8ce25317826ca5'
15          'e98d12f398aa459ed2d4a0cec692a513')
17 build() {
18   cd $srcdir
20   mkdir -p $pkgdir/usr/share/$pkgname
21   cp -rf keymap.py main.py settings.ini chars/ kazama/ stages/ \
22         $pkgdir/usr/share/$pkgname/
23   install -m755 -D $pkgname.sh $pkgdir/usr/bin/$pkgname
25   cd $pkgdir/usr/share/$pkgname
26   rm -f $pkgname/compile.py
27   find -type f -exec chmod 644 {} \;