diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-19 13:52:21 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-19 13:52:26 +0000 |
commit | a3a63b179ba832793391b2bb27bd9223c1ed555d (patch) | |
tree | db2de38ebe2b413b0a4ade32873ca142785395ec /testing/livestreamer | |
parent | e8fa3fbaa5cbbaa8e4c60c2ef95d264d70b9ce48 (diff) | |
download | aports-a3a63b179ba832793391b2bb27bd9223c1ed555d.tar.bz2 aports-a3a63b179ba832793391b2bb27bd9223c1ed555d.tar.xz |
testing/livestreamer: new aport. Fixes #5436
Diffstat (limited to 'testing/livestreamer')
-rw-r--r-- | testing/livestreamer/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/livestreamer/APKBUILD b/testing/livestreamer/APKBUILD new file mode 100644 index 0000000000..b3dd056bef --- /dev/null +++ b/testing/livestreamer/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=livestreamer +pkgver=1.12.2 +pkgrel=0 +pkgdesc="ommand-line utility that extracts streams from various services and pipes them into a video player of choice" +url=" http://livestreamer.io/" +arch="noarch" +license="BSD" +depends="py-requests rtmpdump py-setuptools py-singledispatch py-futures py-six" +depends_dev="" +makedepends="$depends_dev py-sphinx" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/chrippa/$pkgname/archive/v$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + python setup.py build + python setup.py test +} + +package() { + cd "$builddir" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +md5sums="1d896f85f27d28f84a962e9cf548c409 livestreamer-1.12.2.tar.gz" +sha256sums="4d6e2954abff198dce082f34a19a54dbf6fb95ca53567d92a661e527fe68e3ba livestreamer-1.12.2.tar.gz" +sha512sums="547886b494a7562e479cf31db15b5b02545f2ebc5f8b70d0fe0006d3748c5c9f20517638c7642377e2bdc4083738829eacf272e8d68f332da212bf65300f5d12 livestreamer-1.12.2.tar.gz" |