void-packages/srcpkgs/youtube-dl/template
2015-02-14 19:55:55 +01:00

20 lines
687 B
Text

# Template file for 'youtube-dl'
pkgname=youtube-dl
version=2015.02.11
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@gmail.com>"
homepage="http://rg3.github.com/youtube-dl/"
license="Public Domain"
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
checksum=1ad5e8ec6b59dbcb9fafcf312b8e3f2a985a3f8ef7109172caaf287118bb3c59
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}
}