1 # Contributor: Stefano Esposito <ragnarok@email.it>
2 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
7 pkgdesc="Open-source game, loosely inspired by Spacewar, Gravity Wars, and a bit by Star Control (I and II)."
8 url="http://mg.pov.lt/pyspacewar"
10 arch=('i686' 'x86_64')
11 depends=("python-pygame")
12 source=(http://mg.pov.lt/pyspacewar/${pkgname}-${pkgver}.tar.gz setup.patch \
14 md5sums=('164128ba8a84415748ce4fbc3c2c5647'
15 '618630e55daea125c719c32570c63bee'
16 'f837679579cddce0b2c2fed3625a74e2')
21 cd ${srcdir}/${pkgname}-${pkgver}
22 patch -p1 -i ${srcdir}/setup.patch || return 1
23 mkdir -p ${pkgdir}/usr/share/{applications,pixmaps}
24 cp src/pyspacewar/icons/pyspacewar48.png ${pkgdir}/usr/share/pixmaps
25 cp ${srcdir}/pyspacewar.desktop ${pkgdir}/usr/share/applications
26 python setup.py install --root=${pkgdir}