-
-
Save z00rat/48283ea15353ff86c3222316feaca649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: zoorat <zoorat [at] protonmail [dot] com> | |
_pkgname="yt-dlp" | |
pkgname=python-$_pkgname | |
pkgver="2021.10.22" | |
pkgrel=1 | |
pkgdesc="A youtube-dl fork with additional features and fixes. (can be used as dependency, because this package has /usr/lib/python3.9/site-packages/yt_dlp/)" | |
arch=('any') | |
url="https://github.com/yt-dlp/yt-dlp" | |
license=('Unlicense') | |
depends=('python' | |
'python-mutagen' | |
'python-websockets' | |
'python-pycryptodomex') | |
provides=("$_pkgname" "youtube-dlp") | |
conflicts=("$_pkgname" "$_pkgname-git" "youtube-dlp-bin") | |
makedepends=('python-setuptools') | |
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") | |
b2sums=('fb8f789c74df06dcd672d00ac16eb7cbf466755c3fa607acdd21dd9a9ef2af158a5272f88656133078bd50585506b65cf3b3c03236726de954ccfa0b6c1195fc') | |
# check() { | |
# cd "$srcdir/$_pkgname-$pkgver" | |
# pytest | |
# } | |
build() { | |
cd $_pkgname-$pkgver | |
python setup.py build | |
} | |
package() { | |
cd $_pkgname-$pkgver | |
python setup.py install --root="$pkgdir" --optimize=1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment