1 # Maintainer: Lubosz Sarnecki <lubosz at gmail com>
6 pkgdesc="A cross-platform windowing and multimedia library for Python."
8 url="http://pyglet.org"
11 makedepends=('python2-distribute' 'mercurial')
17 _hgbranch=https://pyglet.googlecode.com/hg
23 if [ -d ${_hgrepo} ]; then
24 (cd ${_hgrepo} && hg pull -u) || return 1
26 hg clone ${_hgbranch} ${_hgrepo} || return 1
29 msg "Mercurial clone done or server timeout"
33 python2 setup.py build || return 1
34 python2 setup.py install --root=$pkgdir --optimize=1 || return 1