blob: 2f795c66d5d3a9418ac1aa6a6c8dc7edf7e6ae16 (
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
|
# 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
}
|