diff options
author | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
commit | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch) | |
tree | 8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/python-pygame/PKGBUILD | |
parent | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff) |
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/python-pygame/PKGBUILD')
-rw-r--r-- | extra/python-pygame/PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/extra/python-pygame/PKGBUILD b/extra/python-pygame/PKGBUILD index a3447b7ce..ef664c8cd 100644 --- a/extra/python-pygame/PKGBUILD +++ b/extra/python-pygame/PKGBUILD @@ -1,38 +1,40 @@ -# $Id: PKGBUILD 88496 2010-08-24 05:39:06Z eric $ +# $Id: PKGBUILD 148892 2012-02-05 11:54:30Z ibiru $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: john(?) -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=python-pygame pkgver=1.9.1 -pkgrel=3 +pkgrel=4 pkgdesc="Python game library" arch=('i686' 'x86_64') url="http://www.pygame.org/" license=('LGPL') -depends=('python2' 'sdl_mixer' 'libvorbis' 'sdl_ttf' 'sdl_image' 'smpeg') +depends=('sdl_mixer' 'libvorbis' 'sdl_ttf' 'sdl_image' 'smpeg') +makedepends=('python2' 'portmidi') replaces=('pygame') provides=('pygame') changelog=ChangeLog -source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz 'config.patch') -md5sums=('1c4cdc708d17c8250a2d78ef997222fc' 'aaa668f3cd710d8604114501ea6a6f48') -sha1sums=('a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa' '285815e28705d5a2aea53c9d952d35fddf10dd13') +source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz 'config.patch' +'pygame-v4l.patch') +md5sums=('1c4cdc708d17c8250a2d78ef997222fc' + 'aaa668f3cd710d8604114501ea6a6f48' + '9915b63865c16519e80007909beed876') build() { cd "${srcdir}/pygame-${pkgver}release" patch -Np0 -i "${srcdir}/config.patch" - python2 config.py -auto + patch -Np1 -i "${srcdir}/pygame-v4l.patch" } package() { cd "${srcdir}/pygame-${pkgver}release" + python2 config.py -auto python2 setup.py install --root="${pkgdir}" --prefix=/usr - # Copying the examples and tests cp -R examples lib/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame" cp -R test/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame/tests" - # Fixing permissions chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/* } |