updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / pyspacewar / PKGBUILD
blob33effb8c318dcb19c588d48800f6966a65e16436
1 # Contributor: Stefano Esposito <ragnarok@email.it>
2 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
4 pkgname=pyspacewar
5 pkgver=0.9.7
6 pkgrel=1
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"
9 license="GPL"
10 arch=('i686' 'x86_64')
11 depends=("python-pygame")
12 source=(http://mg.pov.lt/pyspacewar/${pkgname}-${pkgver}.tar.gz setup.patch \
13          pyspacewar.desktop)
14 md5sums=('164128ba8a84415748ce4fbc3c2c5647'
15          '618630e55daea125c719c32570c63bee'
16          'f837679579cddce0b2c2fed3625a74e2')
19 build ()
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}