summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-10-13 22:43:34 +0300
committerDimitris Kiziridis2020-10-13 22:43:34 +0300
commit67cff6c8e6da8289a55705203ef70ea239550e1f (patch)
tree3f42d7ead7ea35e63021ad98213a12a33d8465dc
downloadaur-67cff6c8e6da8289a55705203ef70ea239550e1f.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f766da0158d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python2-opengl
+ pkgdesc = The most common cross platform Python binding to OpenGL and related APIs (for Python 2.7)
+ pkgver = 3.1.5
+ pkgrel = 1
+ url = http://pyopengl.sourceforge.net
+ arch = any
+ license = BSD
+ makedepends = python2-setuptools
+ depends = python2
+ source = python2-opengl-3.1.5.tar.gz::https://files.pythonhosted.org/packages/b8/73/31c8177f3d236e9a5424f7267659c70ccea604dab0585bfcd55828397746/PyOpenGL-3.1.5.tar.gz
+ sha256sums = 4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424
+
+pkgname = python2-opengl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..78de33cfbe7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=python2-opengl
+pkgver=3.1.5
+pkgrel=1
+pkgdesc='The most common cross platform Python binding to OpenGL and related APIs (for Python 2.7)'
+arch=('any')
+url="http://pyopengl.sourceforge.net"
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/b8/73/31c8177f3d236e9a5424f7267659c70ccea604dab0585bfcd55828397746/PyOpenGL-3.1.5.tar.gz")
+sha256sums=('4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424')
+
+package() {
+ cd "PyOpenGL-${pkgver}"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 license.txt "${pkgdir}/usr/share/licenses/python2-opengl/LICENSE"
+}