summaryrefslogtreecommitdiffstats
path: root/abs/extra/python-opengl/PKGBUILD
blob: d0638b19aefce5322836b481d64981803f1fbedc (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
# $Id: PKGBUILD 89543 2010-09-01 17:18:01Z remy $
# Contributor: Josh Taylor <joshtaylor.mail@gmail.com>
# Contributor: simo <simo@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=python-opengl
pkgver=3.0.1
pkgrel=2
pkgdesc="The cross platform Python binding to OpenGL and related APIs"
url="http://pyopengl.sourceforge.net"
license=('BSD')
arch=('any')
depends=('python2' 'tk' 'freeglut' 'setuptools')
provides=('pyopengl' 'python-pyopengl')
conflicts=('pyopengl' 'python-pyopengl')
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
	install -Dm644 ${srcdir}/LICENSE \
	    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}