PKGBUILDs/extra/python-pygame/PKGBUILD

30 lines
933 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49384 2009-08-07 00:02:02Z giovanni $
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: john(?)
pkgname=python-pygame
pkgver=1.9.1
pkgrel=1
pkgdesc="Python game library"
arch=('i686' 'x86_64')
url="http://www.pygame.org/"
license=('LGPL')
depends=('python' 'sdl_mixer' 'libvorbis' 'sdl_ttf' 'sdl_image' 'smpeg')
replaces=('pygame')
provides=('pygame')
source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz)
build() {
cd ${srcdir}/pygame-${pkgver}release
python setup.py install --root=${pkgdir} --prefix=/usr
# Copying the examples and tests
cp -R examples lib/* ${pkgdir}/usr/lib/python2.6/site-packages/pygame
cp -R test/* ${pkgdir}/usr/lib/python2.6/site-packages/pygame/tests
# Fixing permissions
chmod 644 ${pkgdir}/usr/include/python2.6/pygame/*
}
md5sums=('1c4cdc708d17c8250a2d78ef997222fc')