summaryrefslogtreecommitdiff
path: root/community/btanks/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/btanks/PKGBUILD')
-rw-r--r--community/btanks/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/btanks/PKGBUILD b/community/btanks/PKGBUILD
index 530c3bd98..08c12793a 100644
--- a/community/btanks/PKGBUILD
+++ b/community/btanks/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=btanks
pkgver=0.9.8083
pkgrel=3
pkgdesc="Fast 2d tank arcade game with multiplayer and split-screen modes."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://btanks.sourceforge.net"
license=('GPL')
depends=('expat' 'libgl' 'libsigc++2.0' 'libvorbis' 'lua' 'openal' 'sdl' 'sdl_image'
@@ -16,18 +16,21 @@ source=(http://downloads.sourceforge.net/btanks/btanks-$pkgver.tar.bz2
btanks_desktop
btanks_script
bted_script
- gcc-4.6.patch)
+ gcc-4.6.patch
+ btanks-0.9.8083-gcc47.patch)
install=btanks.install
md5sums=('49cb95c0eec47d3436c4fdf65e7c9d12'
'a2ddeb1e79dff8d3fd702984c8d3aab5'
'07657cfa71b1de1d008cc5e3ade9749b'
'91a61c0f581ea27281bdaecb7a3cd58b'
- '173f0ffe46bb1bab2c8aa240fe5331f3')
+ '173f0ffe46bb1bab2c8aa240fe5331f3'
+ '5588fc87105b45fe4d09ae93098388fb')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/gcc-4.6.patch
- python2 engine/sl08/sl08.py >engine/sl08/sl08.h
+ patch -Np1 -i "${srcdir}/btanks-0.9.8083-gcc47.patch"
+ #python2 engine/sl08/sl08.py >engine/sl08/sl08.h
scons
mkdir -p $pkgdir/usr/share/btanks