1 # Maintainer: Lari Tikkanen <lartza@wippies.com>
5 pkgdesc="A multiplayer 2D shooter (Git version)"
7 url="http://teeworlds.com"
10 makedepends=('python' 'git')
12 conflicts=('teeworlds')
13 source=(teeworlds.desktop
15 md5sums=('3944aaf7a8c19a83510b2b39c4cddf5f'
16 '44f39e398409232a0e0a431ed46d8cc8')
18 _gitroot="git://github.com/oy/teeworlds.git"
24 git clone git://github.com/matricks/bam.git
30 if [[ -d $srcdir/$_gitname ]] ; then
34 git clone $_gitroot $_gitname
37 cd ${srcdir}/${_gitname}
42 cd ${srcdir}/${_gitname}
44 mkdir -p ${pkgdir}/usr/share/${_gitname}/data
45 cp -r ${srcdir}/${_gitname}/data/* \
46 ${pkgdir}/usr/share/${_gitname}/data
48 install -Dm755 ${srcdir}/${_gitname}/${_gitname} \
49 ${pkgdir}/usr/bin/${_gitname}
50 install -Dm755 ${srcdir}/${_gitname}/${_gitname}_srv \
51 ${pkgdir}/usr/bin/${_gitname}_srv
53 install -Dm644 ${srcdir}/${_gitname}.desktop \
54 ${pkgdir}/usr/share/applications/${_gitname}.desktop
55 install -Dm644 ${srcdir}/${_gitname}.png \
56 ${pkgdir}/usr/share/pixmaps/${_gitname}.png
57 install -Dm644 ${srcdir}/${_gitname}/license.txt \
58 ${pkgdir}/usr/share/licenses/${_gitname}/license.txt