summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4e5f275985c..c563f5e15ec4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = streamlink-git
pkgdesc = CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)
pkgver = 2.4.0.r53.g765f969d
- pkgrel = 1
+ pkgrel = 2
url = https://streamlink.github.io/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index da345fdd5fa2..9278221465aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=streamlink-git
pkgver=2.4.0.r53.g765f969d
-pkgrel=1
+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/'
@@ -30,9 +30,7 @@ build() {
check() {
cd "${pkgname%-*}"
- pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
- python setup.py install --root="$PWD/tmp_install" --skip-build
- PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest
+ PYTHONPATH="./build/lib:$PYTHONPATH" python -m pytest
}
package() {