21 lines
690 B
Bash
21 lines
690 B
Bash
# Template file for 'youtube-dl'
|
|
pkgname=youtube-dl
|
|
version=2015.10.09
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname}"
|
|
depends="python"
|
|
short_desc="Small CLI program to download videos from YouTube and other sites"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://rg3.github.com/youtube-dl/"
|
|
license="Public Domain"
|
|
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=33103a3197ee1bfa5e9fa78449ed19de888d6b36cc27f46f5c2e76ea11aee0ab
|
|
|
|
do_install() {
|
|
vbin ${pkgname}
|
|
vman ${pkgname}.1
|
|
vinstall ${pkgname}.bash-completion 644 usr/share/bash-completion/completions ${pkgname}
|
|
vinstall ${pkgname}.zsh 644 usr/share/zsh/site-functions _${pkgname}
|
|
}
|