30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# Template file for 'youtube-dl'
|
|
pkgname=youtube-dl
|
|
version=2019.10.22
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc=youtube-dl
|
|
build_style=python3-module
|
|
pycompile_module="youtube_dl"
|
|
hostmakedepends="python3"
|
|
depends="python3"
|
|
short_desc="CLI program to download videos from YouTube and other sites"
|
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
|
license="Unlicense"
|
|
homepage="https://ytdl-org.github.io/youtube-dl/"
|
|
changelog="https://raw.githubusercontent.com/ytdl-org/youtube-dl/master/ChangeLog"
|
|
distfiles="https://yt-dl.org/downloads/${version}/youtube-dl-${version}.tar.gz"
|
|
checksum=8b678129fe221cda70ac4a4ccd13372b65e9b4faa7c12cbbe4ca01ec2f378f1b
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/etc
|
|
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.fish 644 usr/share/fish/completions youtube-dl.fish
|
|
}
|
|
|
|
python3-youtube-dl_package() {
|
|
depends="youtube-dl"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|