aboutsummaryrefslogtreecommitdiffstats
path: root/testing/livestreamer/APKBUILD
blob: 4cd061415c3f383f6512bc7440499bf9c7fe1c91 (plain) (blame)
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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=livestreamer
pkgver=1.12.2
pkgrel=4
pkgdesc="Command-line utility that extracts streams from various services and pipes them into a video player of choice"
url="https://livestreamer.io/"
arch="noarch"
license="BSD-2-Clause"
depends="py-requests rtmpdump py-setuptools py2-singledispatch py-futures py-six py-crypto py-librtmp"
makedepends="py-sphinx"
source="$pkgname-$pkgver.tar.gz::https://github.com/chrippa/$pkgname/archive/v$pkgver.tar.gz"


build() {
	python2 setup.py build
}

check() {
	python2 setup.py test
}

package() {
	python2 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="547886b494a7562e479cf31db15b5b02545f2ebc5f8b70d0fe0006d3748c5c9f20517638c7642377e2bdc4083738829eacf272e8d68f332da212bf65300f5d12  livestreamer-1.12.2.tar.gz"