blob: 526270b825ba64415e36e7ec7c8884c1721dbc1f (
plain)
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
28
29
30
31
32
33
|
# Maintainer: Haoyang Liu <tttturtleruss@gmail.com>
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=twitch-dl-git
pkgver=2.3.1.r1.g38636e2
pkgrel=1
pkgdesc="Twitch video downloader that use multiple concurrent connections"
arch=(any)
url="https://github.com/ihabunek/twitch-dl"
license=('GPL-3.0-only')
depends=('python' 'python-httpx' 'python-click' 'python-m3u8')
makedepends=('git' 'python-build' 'python-installer')
optdepends=('twine: Collection of utilities for interacting with PyPI')
checkdepends=('python-pytest')
provides=('twitch-dl' 'twitch-dl-bin')
conflicts=('twitch-dl' 'twitch-dl-bin')
source=(git+$url.git)
b2sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|