32 lines
852 B
Bash
32 lines
852 B
Bash
# Template file for 'python-audioread'
|
|
pkgname=python-audioread
|
|
version=2.1.8
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="audioread-${version}"
|
|
build_style=python-module
|
|
pycompile_module="audioread"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Multi-library, cross-platform audio decoding (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/sampsyo/audioread/"
|
|
distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz"
|
|
checksum=073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168
|
|
|
|
post_install() {
|
|
sed -n '2,13p' decode.py > LICENSE
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-audioread_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="audioread"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|