summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJulius Dehner2021-03-03 16:23:40 +0100
committerJulius Dehner2021-03-03 16:23:40 +0100
commit76b2d795b586b0631cfbd3c91715605c201225ec (patch)
tree7904ba49a7964c68381a79357a5584506b26f1fd /PKGBUILD
parent33d52003e34d05d95db0ec6a4f8e2c471bb99a98 (diff)
downloadaur-76b2d795b586b0631cfbd3c91715605c201225ec.tar.gz
Update to 2021.03.03.2, completions get installed automatically now
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 53bd8c45938..7c96f9d5fd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=youtube-dlp
_gitname=yt-dlp
-pkgver=2021.02.24
-_gitpkgver="2021.02.24"
+pkgver=2021.03.03.2
+_gitpkgver="2021.03.03.2"
pkgrel=1
pkgdesc="Fork of youtube-dlc - download videos from youtube.com or other video platforms"
arch=('any')
@@ -15,10 +15,11 @@ makedepends=('git' 'glibc' 'pandoc' 'python-setuptools')
optdepends=('ffmpeg: for video post-processing'
'rtmpdump: for rtmp streams support'
'atomicparsley: for embedding thumbnails into m4a files'
+ 'aria2: for using aria2 as external downloader'
'python-pycryptodome: for hlsnative downloader')
source=("https://github.com/pukkandan/${_gitname}/archive/${_gitpkgver}.tar.gz")
provides=('yt-dlp')
-sha256sums=('8b1ce45eaa0cb3bc144b47d2423c8164d08dbe6eb3b0d26357f9e6f8ad24ec59')
+sha256sums=('b499ba82bb232fd3afd570d00faca8d1f36e0f55f7078219f76bab49480b03b7')
prepare() {
cd ${_gitname}-${_gitpkgver}
@@ -28,7 +29,7 @@ prepare() {
build() {
cd ${_gitname}-${_gitpkgver}
- make PREFIX="${pkgdir}/usr" README.txt yt-dlp.1 bash-completion zsh-completion fish-completion
+ make PREFIX="${pkgdir}/usr" README.txt yt-dlp.1 completion-bash completion-zsh completion-fish
export PYTHONHASHSEED=0
python setup.py build
}
@@ -36,11 +37,4 @@ build() {
package() {
cd ${_gitname}-${_gitpkgver}
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-
- # Completions fix
- mv "${pkgdir}/usr/share/bash-completion/completions/yt-dlp"{.bash-completion,}
- install -Dm644 yt-dlp.zsh "${pkgdir}/usr/share/zsh/site-functions/_youtube-dlc"
-
- # License
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}