# Maintainer: speps pkgname=python-pygame-hg pkgver=r3425.faa5879a7e6b pkgrel=1 pkgdesc="Python game library" arch=(i686 x86_64) url="http://pygame.org/" license=('LGPL') depends=('python' 'libjpeg-turbo' 'sdl_ttf' 'sdl_image' 'sdl_mixer' 'portmidi') makedepends=('mercurial' 'python-setuptools') provides=('python3-pygame' 'python3-pygame-svn') conflicts=('python3-pygame' 'python3-pygame-svn') replaces=('python3-pygame-svn') source=("$pkgname::hg+https://bitbucket.org/pygame/pygame") md5sums=('SKIP') pkgver() { cd $pkgname printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" } build() { cd $pkgname python config.py -auto python setup.py build } package() { cd $pkgname python setup.py install --prefix=/usr \ --root="$pkgdir/" } # vim:set ts=2 sw=2 et: