# Template file for 'youtube-dl' pkgname=youtube-dl version=2021.12.17 revision=3 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" checkdepends="flake8 python3-nose" short_desc="CLI program to download videos from YouTube and other sites" maintainer="Orphaned " license="Unlicense" homepage="http://ytdl-org.github.io/youtube-dl" changelog="https://raw.githubusercontent.com/ytdl-org/youtube-dl/master/ChangeLog" distfiles="https://github.com/ytdl-org/youtube-dl/archive/${version}.tar.gz" checksum=d095479ccdbc5f42d312faf4a42c7bd009a2efb5703120311b7a86ad6a3197f4 do_check() { PYTHON=/usr/bin/python3 make offlinetest } post_install() { make youtube-dl.{bash-completion,zsh,fish} vcompletion youtube-dl.bash-completion bash vcompletion youtube-dl.zsh zsh vcompletion youtube-dl.fish fish rm -r ${DESTDIR}/usr/etc } python3-youtube-dl_package() { depends="youtube-dl" short_desc+=" - transitional dummy package" build_style=meta }