#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=pygame pkgver=1.8.1 pkgrel=2 zenver=60 arch=i486 source=("ftp://pygame.org/pub/pygame/pygame-1.8.1release.tar.gz") sourcetemplate=http://pnboy.pinguix.com/gapan/games/$pkgname docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "pkg-info" "whatsnew" "install.html") url=http://www.pygame.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pygame - Python modules for writing games" "Pygame is a set of Python modules designed for writing games. It is" "written on top of the excellent SDL library. This allows you to" "create fully featured games and multimedia programs in the python" "language." ) build() { cd $startdir/src/$pkgname-$pkgver\release python setup.py build python setup.py install --root=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp -a docs $startdir/pkg/usr/doc/$pkgname-$pkgver chown -R root:root $startdir/pkg chmod -R a-s $startdir/pkg chmod a+r $startdir/pkg/usr/lib/python2.6/site-packages/pygame/freesansbold.ttf }