void-packages/srcpkgs/python3-PyAudio/template

20 lines
635 B
Bash

# Template file for 'python3-PyAudio'
pkgname=python3-PyAudio
version=0.2.12
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel portaudio-devel"
depends="python3"
short_desc="Python3 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Cameron Nemo <cam@nohom.org>"
license="MIT"
homepage="https://people.csail.mit.edu/hubert/pyaudio/"
distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz"
checksum=55ddf5db72bc537bba5f5dbca3ab9f0222ee5b842bda83978eab0b7b8f60fb9e
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p'< README.md > LICENSE
vlicense LICENSE
}