PKGBUILDs/community/pyglet/PKGBUILD
2009-10-09 21:15:33 -05:00

20 lines
642 B
Bash

# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Ryan Coyner <rcoyner@gmail.com>
pkgname=pyglet
pkgver=1.1.3
pkgrel=1
pkgdesc="A cross-platform windowing and multimedia library for Python"
arch=('i686' 'x86_64')
url="http://pyglet.org/"
license=('BSD')
depends=('python')
source=(http://pyglet.googlecode.com/files/$pkgname-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build || return 1
python setup.py install --root=$startdir/pkg || return 1
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('54530c20a95fffeb6c60fd4a9b073b83')