# Contributor: Carlo Landmeter # Maintainer: pkgname=py3-audioread _pkgname=audioread pkgver=2.1.8 pkgrel=1 pkgdesc="Multi-library, cross-platform audio decoding" url="https://github.com/sampsyo/audioread" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" options="!check" # upstream provides no testsuite source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-audioread" # Backwards compatibility provides="py-audioread=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="9db5ad1f8b2047256b5f6b4bbee2366043ed19d35ffd2766ae3ab66bdc5b9f63910bcf449fd42aab074fd8132642bf730c432aa0c8f3c5368cd6ef36d7f4f5a5 audioread-2.1.8.tar.gz"