2008-03-06 16:23:16 +01:00
|
|
|
# Description: Python bindings for SDL.
|
|
|
|
# URL: http://pygame.org/
|
2008-03-26 03:45:31 +01:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-03-06 16:23:16 +01:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
2008-03-07 05:26:05 +01:00
|
|
|
# Depends on: numeric sdl_image sdl_mixer sdl_ttf xorg-libx11
|
2007-02-12 23:40:55 +01:00
|
|
|
|
|
|
|
name=pygame
|
2008-03-30 10:41:26 +02:00
|
|
|
version=1.8.0
|
|
|
|
release=1
|
2007-02-12 23:40:55 +01:00
|
|
|
source=(http://www.pygame.org/ftp/pygame-${version}release.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2008-03-06 16:23:16 +01:00
|
|
|
cd pygame-${version}release
|
2008-03-30 10:41:26 +02:00
|
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
2008-03-07 05:26:05 +01:00
|
|
|
python config.py
|
2007-02-12 23:40:55 +01:00
|
|
|
python setup.py install --prefix=/usr --root $PKG
|
2008-03-30 10:41:26 +02:00
|
|
|
chmod a-x $PKG/usr/lib/python*/site-packages/pygame/*.so
|
2007-02-12 23:40:55 +01:00
|
|
|
}
|
2008-03-06 16:23:16 +01:00
|
|
|
|