summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMagnus Boman2021-10-27 22:14:50 +0200
committerMagnus Boman2021-10-27 22:14:50 +0200
commit050ff5622605789deb273f46edd6390dc9b2c999 (patch)
tree47ca480f97866ae4e3b2a849bdab80182a692c8f /PKGBUILD
parentb68eca077676296f454653d384256affd425d581 (diff)
downloadaur-yt-dlp-git.tar.gz
upgpkg: yt-dlp-git 2021.10.22.r20.gb7b186e7d-1
Sync with communit/yt-dlp
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c5daa96c797..e6e63f6f849 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: katt <magunasu.b97@gmail.com>
pkgname=yt-dlp-git
-pkgver=2021.08.02.r38.gb6a35ad83
+pkgver=2021.10.22.r20.gb7b186e7d
pkgrel=1
pkgdesc='A youtube-dl fork with additional features and fixes (git)'
arch=(any)
url=https://github.com/yt-dlp/yt-dlp
license=(Unlicense)
-depends=(python python-mutagen python-pycryptodome python-websockets)
-makedepends=(git glibc pandoc python-setuptools)
+depends=(python-mutagen python-pycryptodomex python-websockets)
+makedepends=(git python-setuptools pandoc)
optdepends=('ffmpeg: for video post-processing'
'rtmpdump: for rtmp streams support'
'atomicparsley: for embedding thumbnails into m4a files'
@@ -22,20 +22,13 @@ pkgver() {
git -C "${pkgname%-git}" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- cd "${pkgname%-git}"
- sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
- sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py
-}
-
build() {
cd "${pkgname%-git}"
- make PREFIX="${pkgdir}/usr" README.txt yt-dlp.1 completion-bash completion-zsh completion-fish
- export PYTHONHASHSEED=0
+ make pypi-files
python setup.py build
}
package() {
cd "${pkgname%-git}"
- python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+ python setup.py install --root="${pkgdir}" --skip-build --optimize=1
}