[arch-commits] Commit in python-pygame/trunk (ChangeLog PKGBUILD)
Douglas Soares de Andrade
douglas at archlinux.org
Thu Aug 6 08:05:05 UTC 2009
Date: Thursday, August 6, 2009 @ 04:05:05
Author: douglas
Revision: 49326
upgpkg: python-pygame 1.9.0-2
Fixes deficient pygame install routines
Modified:
python-pygame/trunk/ChangeLog
python-pygame/trunk/PKGBUILD
-----------+
ChangeLog | 4 ++++
PKGBUILD | 15 ++++++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2009-08-06 07:57:48 UTC (rev 49325)
+++ ChangeLog 2009-08-06 08:05:05 UTC (rev 49326)
@@ -1,4 +1,8 @@
+2009-08-03 Douglas Soares de Andrade <douglas at archlinux.org>
+
+ * Adding the examples folder
+
2009-08-01 Douglas Soares de Andrade <douglas at archlinux.org>
* Updated for x86_64: 1.9.0
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-08-06 07:57:48 UTC (rev 49325)
+++ PKGBUILD 2009-08-06 08:05:05 UTC (rev 49326)
@@ -5,7 +5,7 @@
pkgname=python-pygame
pkgver=1.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python game library"
arch=('i686' 'x86_64')
url="http://www.pygame.org/"
@@ -16,9 +16,14 @@
source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz)
build() {
- cd ${srcdir}/pygame-${pkgver}release
- python setup.py install --root=${pkgdir} --prefix=/usr
- # Fixing permissions
- chmod 644 ${pkgdir}/usr/include/python2.6/pygame/*
+ 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=('bf1123ece533998570c5e04bdcff5392')
More information about the arch-commits
mailing list