33 lines
966 B
Bash
33 lines
966 B
Bash
# Template file for 'youtube-dl'
|
|
pkgname=youtube-dl
|
|
version=2020.11.01.1
|
|
revision=1
|
|
wrksrc=youtube-dl
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools"
|
|
checkdepends="flake8 python3-nose"
|
|
short_desc="CLI program to download videos from YouTube and other sites"
|
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
|
license="Unlicense"
|
|
homepage="https://yt-dl.org"
|
|
changelog="https://gitlab.com/dstftw/youtube-dl/-/raw/master/ChangeLog"
|
|
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=7a62187bc9f91af42eb5c9c95652e350170a72dbbdac8c7d71a6aeb4885a901a
|
|
|
|
do_check() {
|
|
PYTHON=/usr/bin/python3 make offlinetest
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/etc
|
|
vcompletion youtube-dl.bash-completion bash
|
|
vcompletion youtube-dl.zsh zsh
|
|
vcompletion youtube-dl.fish fish
|
|
}
|
|
|
|
python3-youtube-dl_package() {
|
|
depends="youtube-dl"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|