summaryrefslogtreecommitdiff
path: root/extra/python-pygame/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/python-pygame/PKGBUILD')
-rw-r--r--extra/python-pygame/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/python-pygame/PKGBUILD b/extra/python-pygame/PKGBUILD
index 5207303ca..dbe7144a0 100644
--- a/extra/python-pygame/PKGBUILD
+++ b/extra/python-pygame/PKGBUILD
@@ -1,14 +1,16 @@
-# $Id: PKGBUILD 153735 2012-03-19 03:45:07Z eric $
+# $Id: PKGBUILD 167958 2012-10-04 06:29:37Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
-pkgname=python-pygame
+pkgbase=python-pygame
+pkgname=python2-pygame
pkgver=1.9.1
-pkgrel=5
+pkgrel=7
pkgdesc="Python game library"
arch=('i686' 'x86_64')
url="http://www.pygame.org/"
license=('LGPL')
depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi')
+conflicts=('python-pygame')
source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz \
config.patch pygame-v4l.patch)
sha1sums=('a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa'
@@ -21,7 +23,7 @@ build() {
patch -Np1 -i "${srcdir}/pygame-v4l.patch"
}
-package() {
+package_python2-pygame() {
cd "${srcdir}/pygame-${pkgver}release"
python2 config.py -auto
python2 setup.py install --root="${pkgdir}" --prefix=/usr