#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=pygame pkgver=1.8.1 pkgrel=3gv source=("ftp://pygame.org/pub/pygame/pygame-${pkgver}release.tar.gz") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "pkg-info" "whatsnew" "install.html") url=http://www.pygame.org 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 644 $startdir/pkg/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages/pygame/freesansbold.ttf find $startdir/pkg -type f -perm 700 -exec chmod 644 {} \; }