# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=livestreamer pkgver=1.12.2 pkgrel=8 pkgdesc="Command-line utility that extracts streams from various services and pipes them into a video player of choice" url="https://docs.livestreamer.io/" arch="noarch" license="BSD-2-Clause AND MIT" depends="py3-requests rtmpdump py3-setuptools py3-pycryptodome py3-librtmp" makedepends="py3-sphinx" source="$pkgname-$pkgver.tar.gz::https://github.com/chrippa/livestreamer/archive/v$pkgver.tar.gz" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --root="$pkgdir" --optimize=1 } sha512sums="547886b494a7562e479cf31db15b5b02545f2ebc5f8b70d0fe0006d3748c5c9f20517638c7642377e2bdc4083738829eacf272e8d68f332da212bf65300f5d12 livestreamer-1.12.2.tar.gz"