diff options
Diffstat (limited to 'pygame/Pkgfile')
-rw-r--r-- | pygame/Pkgfile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pygame/Pkgfile b/pygame/Pkgfile index 2ffeb5b7e..36dd642c0 100644 --- a/pygame/Pkgfile +++ b/pygame/Pkgfile @@ -5,15 +5,20 @@ # Depends on: numeric sdl_image sdl_mixer sdl_ttf name=pygame -version=1.8.1 +version=1.9.1 release=1 -source=(http://www.pygame.org/ftp/pygame-${version}release.tar.gz) +source=(http://www.pygame.org/ftp/$name-${version}release.tar.gz + pygame-1.9.1-config.patch) build() { - cd pygame-${version}release + cd $name-${version}release + export CFLAGS="$CFLAGS -fno-strict-aliasing" - python config.py + patch -p1 -i $SRC/pygame-1.9.1-config.patch + + python config.py -auto python setup.py install --prefix=/usr --root $PKG + chmod a-x $PKG/usr/lib/python*/site-packages/pygame/*.so find $PKG -name '*.h' -exec chmod 0644 {} \; @@ -22,4 +27,3 @@ build() { -name 'pygame_icon.*' -o \ -name 'freesansbold.ttf' \) -exec chmod 0644 {} \; } - |