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

Eric Bélanger eric at archlinux.org
Wed Mar 25 20:58:18 UTC 2009


    Date: Wednesday, March 25, 2009 @ 16:58:18
  Author: eric
Revision: 31342

upgpkg: python-opengl 3.0.0c1-2
    Fixing license

Added:
  python-opengl/trunk/LICENSE
Modified:
  python-opengl/trunk/PKGBUILD

----------+
 LICENSE  |   30 ++++++++++++++++++++++++++++++
 PKGBUILD |    8 ++++----
 2 files changed, 34 insertions(+), 4 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2009-03-25 20:58:18 UTC (rev 31342)
@@ -0,0 +1,30 @@
+# Copyright (c) 2006-2008 Alex Holkner
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+#  * Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+#  * Redistributions in binary form must reproduce the above copyright 
+#    notice, this list of conditions and the following disclaimer in
+#    the documentation and/or other materials provided with the
+#    distribution.
+#  * Neither the name of pyglet nor the names of its
+#    contributors may be used to endorse or promote products
+#    derived from this software without specific prior written
+#    permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-25 20:14:48 UTC (rev 31341)
+++ PKGBUILD	2009-03-25 20:58:18 UTC (rev 31342)
@@ -5,7 +5,7 @@
 
 pkgname=python-opengl
 pkgver=3.0.0c1
-pkgrel=1
+pkgrel=2
 pkgdesc="The cross platform Python binding to OpenGL and related APIs"
 arch=(i686 x86_64)
 license=('BSD')
@@ -13,11 +13,11 @@
 provides=('pyopengl' 'python-pyopengl')
 conflicts=('pyopengl' 'python-pyopengl')
 url="http://pyopengl.sourceforge.net"
+source=(http://downloads.sourceforge.net/pyopengl/PyOpenGL-$pkgver.tar.gz LICENSE)
+md5sums=('51a33cea33f3e8eb2eaf12f574dcb1af' '0b53c508a63e5dbaf44cdfb0fa103b3a')
 
-source=(http://downloads.sourceforge.net/pyopengl/PyOpenGL-$pkgver.tar.gz)
-
 build() {
     cd $startdir/src/PyOpenGL-$pkgver
     python setup.py install --root=$startdir/pkg
+    install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }
-md5sums=('51a33cea33f3e8eb2eaf12f574dcb1af')




More information about the arch-commits mailing list