diff options
author | Igor Dyatlov | 2021-09-26 18:54:20 +0300 |
---|---|---|
committer | Igor Dyatlov | 2021-09-26 18:54:20 +0300 |
commit | e255570f12d3939e106ad7f0702a1dd50f5c2a8e (patch) | |
tree | 0637fdfaa2515205b24aa2ef41a56542908ecaba | |
download | aur-e255570f12d3939e106ad7f0702a1dd50f5c2a8e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..abad0449d657 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = twitch-dl + pkgdesc = Twitch video downloader that use multiple concurrent connections + pkgver = 1.16.1 + pkgrel = 1 + url = https://github.com/ihabunek/twitch-dl + arch = any + license = GPL3 + checkdepends = python-pytest + makedepends = python-setuptools + depends = python + depends = python-m3u8 + depends = ffmpeg + provides = twitch-dl-bin + conflicts = twitch-dl-bin + source = https://github.com/ihabunek/twitch-dl/archive/1.16.1.tar.gz + sha512sums = 830a9b0e9c378df755db17bc32d6c6973f3ec49a64b4985ae0bf0e429c4e3766226cb634d158ac3c351de03b64ea0c389785f25fae592047cbb8e48f0981ee8d + +pkgname = twitch-dl diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..05199c536350 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com> + +pkgname=twitch-dl +pkgver=1.16.1 +pkgrel=1 +pkgdesc="Twitch video downloader that use multiple concurrent connections" +arch=(any) +url="https://github.com/ihabunek/twitch-dl" +license=('GPL3') +depends=('python' 'python-m3u8' 'ffmpeg') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +provides=('twitch-dl-bin') +conflicts=('twitch-dl-bin') +source=($url/archive/$pkgver.tar.gz) +sha512sums=('830a9b0e9c378df755db17bc32d6c6973f3ec49a64b4985ae0bf0e429c4e3766226cb634d158ac3c351de03b64ea0c389785f25fae592047cbb8e48f0981ee8d') + +build() { + cd "$pkgname-$pkgver" + make +} + +check(){ + cd "$pkgname-$pkgver" + python setup.py pytest +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} |