summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19eeb1fc99a83bc55669eac6febb501dc6f8dd6f (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
# Maintainer: robertfoster

pkgname=python-rtmixer
pkgver=0.1.7
pkgrel=2
pkgdesc="Reliable low-latency audio playback and recording with Python"
arch=(any)
url="https://github.com/spatialaudio/python-rtmixer"
license=('MIT')
makedepends=(portaudio python-build python-cffi python-installer python-pa-ringbuffer python-setuptools python-wheel)
source=("git+https://github.com/spatialaudio/python-rtmixer.git")

prepare() {
  cd ${pkgname}
  git submodule update --init --recursive --depth 1 --recommend-shallow
}

build() {
  cd ${pkgname}
  python -m build --wheel --no-isolation
}

package() {
  cd ${pkgname}
  python -m installer --destdir="$pkgdir" dist/*.whl
}

sha256sums=('SKIP')