mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
youtube-dl: install fish completion to vendor_completions.d
This commit is contained in:
parent
4e84293be3
commit
d3b8880961
1 changed files with 7 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
||||||
# Template file for 'youtube-dl'
|
# Template file for 'youtube-dl'
|
||||||
pkgname=youtube-dl
|
pkgname=youtube-dl
|
||||||
version=2020.03.01
|
version=2020.03.01
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc=youtube-dl
|
wrksrc=youtube-dl
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools"
|
depends="python3-setuptools"
|
||||||
|
checkdepends="flake8 python3-nose"
|
||||||
short_desc="CLI program to download videos from YouTube and other sites"
|
short_desc="CLI program to download videos from YouTube and other sites"
|
||||||
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
||||||
license="Unlicense"
|
license="Unlicense"
|
||||||
|
@ -15,11 +16,15 @@ changelog="https://raw.githubusercontent.com/ytdl-org/youtube-dl/master/ChangeLo
|
||||||
distfiles="https://yt-dl.org/downloads/${version}/youtube-dl-${version}.tar.gz"
|
distfiles="https://yt-dl.org/downloads/${version}/youtube-dl-${version}.tar.gz"
|
||||||
checksum=5ca43f343738338cfdec47042de1569e5755b62d66af29950f48f5be2c001306
|
checksum=5ca43f343738338cfdec47042de1569e5755b62d66af29950f48f5be2c001306
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
PYTHON=/usr/bin/python3 make offlinetest
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/etc
|
rm -rf ${DESTDIR}/usr/etc
|
||||||
vinstall youtube-dl.bash-completion 644 usr/share/bash-completion/completions youtube-dl
|
vinstall youtube-dl.bash-completion 644 usr/share/bash-completion/completions youtube-dl
|
||||||
vinstall youtube-dl.zsh 644 usr/share/zsh/site-functions _youtube-dl
|
vinstall youtube-dl.zsh 644 usr/share/zsh/site-functions _youtube-dl
|
||||||
vinstall youtube-dl.fish 644 usr/share/fish/completions youtube-dl.fish
|
vinstall youtube-dl.fish 644 usr/share/fish/vendor_completions.d
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-youtube-dl_package() {
|
python3-youtube-dl_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue