1 # Contributor: Allan McRae <allan@archlinux.org>
2 # Contributor: Armin 'IsSuE' Praher [issue.at.gmx.dot.at]
3 # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
4 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
10 pkgdesc="A multiplayer 2D shooter - server only"
11 arch=('i686' 'x86_64')
12 url="http://teeworlds.com"
15 makedepends=('python2' 'bam')
16 replaces=('teewars_srv')
17 conflicts=('teeworlds')
18 source=(http://www.teeworlds.com/files/teeworlds-${pkgver}-src.tar.gz)
19 md5sums=('4d6e5d0fb1b5f0bdf6c5c49714045ef1')
23 cd ${srcdir}/teeworlds-${pkgver}-source
29 cd ${srcdir}/teeworlds-${pkgver}-source
32 mkdir -p ${pkgdir}/usr/share/teeworlds/data
33 cp -r ${srcdir}/teeworlds-${pkgver}-source/data/* \
34 ${pkgdir}/usr/share/teeworlds/data
36 install -Dm755 ${srcdir}/teeworlds-${pkgver}-source/${pkgname} \
37 ${pkgdir}/usr/bin/${pkgname}
39 install -Dm644 ${srcdir}/teeworlds-${pkgver}-source/license.txt \
40 ${pkgdir}/usr/share/licenses/teeworlds/license.txt