# Maintainer: Christopher Arndt pkgname="python-rtmidi" pkgdesc="Python bindings for the cross-platform MIDI I/O library RtMidi" pkgver=1.4.0 pkgrel=1 arch=('i686' 'x86_64' 'arm') url="https://github.com/SpotlightKid/python-rtmidi" license=('MIT') depends=('jack' 'python') makedepends=('cython' 'python-setuptools') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha256sums=('4ed5da58e4b57e84074f15e9c27bb3fc1b535258c502517f3c7e1042ed74ffe4') build() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="$pkgdir" --skip-build --optimize=1 # license install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }