summaryrefslogtreecommitdiff
path: root/community/teeworlds
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-14 00:46:01 -0700
committerroot <root@rshg054.dnsready.net>2012-10-14 00:46:01 -0700
commit4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch)
treeb31de2992989d616383f6552ba5d23b75701ef04 /community/teeworlds
parent21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff)
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'community/teeworlds')
-rw-r--r--community/teeworlds/PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/community/teeworlds/PKGBUILD b/community/teeworlds/PKGBUILD
index b104310ef..51ee46ff9 100644
--- a/community/teeworlds/PKGBUILD
+++ b/community/teeworlds/PKGBUILD
@@ -6,37 +6,29 @@
pkgname=teeworlds
pkgver=0.6.1
-_bamver=0.4.0
-pkgrel=2
+pkgrel=3
pkgdesc="A multiplayer 2D shooter"
arch=('i686' 'x86_64')
url="http://teeworlds.com"
license=('custom')
-depends=('alsa-lib' 'mesa' 'sdl' 'freetype2')
-makedepends=('python2')
+depends=('alsa-lib' 'glu' 'sdl' 'freetype2')
+makedepends=('python2' 'bam' 'mesa')
replaces=('teewars')
source=(http://www.teeworlds.com/files/${pkgname}-${pkgver}-source.tar.gz
- https://github.com/downloads/matricks/bam/bam-${_bamver}.tar.bz2
teeworlds.desktop
teeworlds.png)
md5sums=('00de7195ecd1f23596dc3237341af512'
- 'f8b62ad553c3615a725a034df4fb4257'
'3944aaf7a8c19a83510b2b39c4cddf5f'
'44f39e398409232a0e0a431ed46d8cc8')
build() {
- # Build bam (used to build teeworlds)
- # Now it is released separately I should make a separate package...
- cd ${srcdir}/bam-${_bamver}
- ./make_unix.sh
-
# Build teeworlds
cd ${srcdir}/${pkgname}-*-source
# Use Python 2
sed -i 's/python /python2 /' bam.lua
- ../bam-${_bamver}/bam server_release client_release
+ bam server_release client_release
}
package() {