#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=pygame
pkgver=1.9.1
pkgrel=2gv
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
}