summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 489159f401f9d0df300169b2fd20cb7bbb79d755 (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
# Maintainer: Alexander Fasching <fasching.a91@gmail.com>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=python-pyxel
pkgver=1.0.2
pkgrel=1
pkgdesc='Retro game development environment'
arch=('any')
url='https://github.com/kitao/pyxel'
license=('MIT')
depends=('portaudio' 'python-glfw' 'python-numpy' 'python-opengl'
         'python-pillow' 'python-sounddevice')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/kitao/pyxel#tag=v$pkgver")
md5sums=('SKIP')

build() {
  cd pyxel

  python setup.py build
}

package() {
  cd pyxel

  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2 sw=2 et: