summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39350d79dce8ef87c9cd88c05fd06670d7b1f644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> 
# Contributor: Mathieu Pasquet <mathieui> <mathieuivi@gmail.com>

pkgname=python2-openglcontext
pkgver=2.2.0a3
pkgrel=1
arch='any'
pkgdesc="OpenGLcontext is a learning environment for PyOpenGL."
depends=('python2-opengl')
url="http://pyopengl.sourceforge.net/context"
source=("https://pypi.python.org/packages/source/O/OpenGLContext/OpenGLContext-2.2.0a3.tar.gz")
license='BSD' #BSD-style, though, see license.txt in the archive file

provides=('python2-openglcontext')

md5sums=('b5bdedbdae5215e7acff3b087c8220d3')

pkgver() {
  cd openglcontext
  echo $(grep __version__ OpenGLContext/__init__.py | sed 's/__version__ = "//' | sed 's/"//')
}

build() {
  cd openglcontext
  python2 setup.py build
}

package() {
  cd openglcontext
  python2 setup.py install --root=$pkgdir
}