aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-audioread/APKBUILD
blob: fb0578dd5bdfe7aaabaacb57dba6423f68b3c3a5 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-audioread
_pkgname=audioread
pkgver=2.1.5
pkgrel=0
pkgdesc="Cross-library audio decoding for Python"
url="https://github.com/sampsyo/audioread"
arch="noarch"
license="MIT"
depends="python2"
makedepends="python2-dev"
source="https://files.pythonhosted.org/packages/source/a/audioread/audioread-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7589b03f9f4b11475e97ab9d114ab1bf08be8e5f9d20f3db70c9d421607f99ed66747a65d1b5e124595e520ab698e17ae9fb9a2eb453ee904ee2b6debf8b3a5c  audioread-2.1.5.tar.gz"