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

Pierre Schmitz pierre at archlinux.org
Fri Feb 24 05:19:01 EST 2012


    Date: Friday, February 24, 2012 @ 05:19:01
  Author: pierre
Revision: 150965

upgpkg: python-opengl 3.0.1-3

rebuild old package

Modified:
  python-opengl/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-24 10:17:15 UTC (rev 150964)
+++ PKGBUILD	2012-02-24 10:19:01 UTC (rev 150965)
@@ -6,7 +6,7 @@
 
 pkgname=python-opengl
 pkgver=3.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="The cross platform Python binding to OpenGL and related APIs"
 url="http://pyopengl.sourceforge.net"
 license=('BSD')
@@ -14,18 +14,14 @@
 depends=('python2' 'tk' 'freeglut' 'setuptools')
 provides=('pyopengl' 'python-pyopengl')
 conflicts=('pyopengl' 'python-pyopengl')
-source=(http://downloads.sourceforge.net/pyopengl/PyOpenGL-${pkgver}.tar.gz
-	'LICENSE')
+source=("http://downloads.sourceforge.net/pyopengl/PyOpenGL-${pkgver}.tar.gz"
+        'LICENSE')
 md5sums=('221d4a6a0928fcfeef26751370ec5f52'
          '0b53c508a63e5dbaf44cdfb0fa103b3a')
 
-build() {
-	/bin/true
-}
-
 package() {
 	cd ${srcdir}/PyOpenGL-${pkgver}
-	python2 setup.py install --root=${pkgdir} || return 1
+	python2 setup.py install --root=${pkgdir}
 	install -Dm644 ${srcdir}/LICENSE \
-	    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+		${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list