summaryrefslogtreecommitdiff
path: root/community/pyglet
diff options
context:
space:
mode:
Diffstat (limited to 'community/pyglet')
-rw-r--r--community/pyglet/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/pyglet/PKGBUILD b/community/pyglet/PKGBUILD
new file mode 100644
index 000000000..2f795c66d
--- /dev/null
+++ b/community/pyglet/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
+# Contributor: Ryan Coyner <rcoyner@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=pyglet
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="A cross-platform windowing and multimedia library for Python"
+arch=('i686' 'x86_64')
+url="http://pyglet.org/"
+license=('BSD')
+depends=('python2')
+optdepend=('avbin: provides audio&video support')
+source=(http://pyglet.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+md5sums=('b2363642dc3832e95dc4e63a6793467f')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python2 setup.py install --root=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}