[arch-commits] Commit in streamlink/repos (2 files)
Eli Schwartz
eschwartz at archlinux.org
Mon Jul 23 15:18:27 UTC 2018
Date: Monday, July 23, 2018 @ 15:18:27
Author: eschwartz
Revision: 362976
archrelease: copy trunk to community-staging-any
Added:
streamlink/repos/community-staging-any/
streamlink/repos/community-staging-any/PKGBUILD
(from rev 362975, streamlink/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: streamlink/repos/community-staging-any/PKGBUILD (from rev 362975, streamlink/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-23 15:18:27 UTC (rev 362976)
@@ -0,0 +1,41 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=streamlink
+pkgver=0.14.2
+pkgrel=2
+pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)'
+arch=('any')
+url='https://streamlink.github.io/'
+license=('BSD')
+depends=("python-"{crypto,isodate,pycountry,requests,pysocks,websocket-client} 'rtmpdump')
+checkdepends=("python-"{freezegun,mock,pytest,requests-mock})
+makedepends=("python-"{recommonmark,setuptools,sphinx})
+optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+validpgpkeys=('E2B794C7C2C37162E5E2A097E3DB9E282E390FA0') # Streamlink Signing Key <streamlink at protonmail.com>
+sha256sums=('a8c7f9a758ade056a35d439f78408e9e43ce1069dde9289d322702d35c214150'
+ 'SKIP')
+sha512sums=('0d9f1db32915392f9d29bcfb40743058352a924435a8ee77f1218c108e937204e88041c908d2f93546beaa70e18db62c961ea31fbdd85c5e7e4315a18118e276'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export STREAMLINK_USE_PYCOUNTRY="true"
+ export STREAMLINK_USE_PYCRYPTO="true"
+ python setup.py build
+ python setup.py build_sphinx -b man
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 build/sphinx/man/streamlink.1 \
+ "$pkgdir/usr/share/man/man1/streamlink.1"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list