# Maintainer: Alexander Fasching # Contributor: Alexander F. Rødseth pkgname=python-pyxel pkgver=1.3.3 pkgrel=1 pkgdesc='Retro game development environment' arch=('i686' 'x86_64') url='https://github.com/kitao/pyxel' license=('MIT') depends=('portaudio' 'python-glfw' 'python-opengl' 'python-pillow' 'python-sounddevice' 'sdl2_image') optdepends=('pyinstaller') makedepends=('python-setuptools') source=("https://github.com/kitao/pyxel/archive/v$pkgver.tar.gz" "0001-optional-pyinstaller.patch") md5sums=('7062dfcf7b4bb35fd90d6e43b39b6059' 'cf044b8b6dd01f80563f0b92f56618b3') build() { cd pyxel-$pkgver patch -i "$srcdir"/0001-optional-pyinstaller.patch python setup.py build } package() { cd pyxel-$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim: ts=2 sw=2 et: