[arch-commits] Commit in python-pygame/trunk (ChangeLog PKGBUILD)

Eric Belanger eric at archlinux.org
Wed Aug 6 21:21:32 EDT 2008


    Date: Wednesday, August 6, 2008 @ 21:21:32
  Author: eric
Revision: 8134

upgpkg: python-pygame 1.8.1-2
    Fixed file permissions (close FS#11082)

Modified:
  python-pygame/trunk/ChangeLog
  python-pygame/trunk/PKGBUILD

-----------+
 ChangeLog |    4 ++++
 PKGBUILD  |   11 +++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2008-08-07 00:48:03 UTC (rev 8133)
+++ ChangeLog	2008-08-07 01:21:32 UTC (rev 8134)
@@ -1,4 +1,8 @@
+2008-08-06  Eric Belanger  <eric at archlinux.org>
 
+	* python-pygame 1.8.1-2
+	* Fixed file permissions (close FS#11082)
+
 2008-07-31  Douglas Soares de Andrade  <douglas at archlinux.org>
 
 	* Updated for i686: 1.8.1

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-07 00:48:03 UTC (rev 8133)
+++ PKGBUILD	2008-08-07 01:21:32 UTC (rev 8134)
@@ -5,7 +5,7 @@
 
 pkgname=python-pygame
 pkgver=1.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python game library"
 arch=('i686' 'x86_64')
 url="http://www.pygame.org/"
@@ -14,10 +14,13 @@
 replaces=('pygame')
 provides=('pygame')
 source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz)
-
 md5sums=('3e72f11d99c1a46ed69eb943c9de20a5')
 
 build() {
-  cd ${startdir}/src/pygame-${pkgver}release
-  python setup.py install --root=${startdir}/pkg --prefix=/usr
+  cd ${srcdir}/pygame-${pkgver}release
+  python setup.py install --root=${pkgdir} --prefix=/usr
+# Fixing permissions
+  chmod 644 ${pkgdir}/usr/include/python2.5/pygame/*
+  chmod 644 ${pkgdir}/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf
+  chmod 644 ${pkgdir}/usr/lib/python2.5/site-packages/pygame/pygame*
 }




More information about the arch-commits mailing list