void-packages/srcpkgs/youtube-dl/template

27 lines
713 B
Plaintext

# Template file for 'youtube-dl'
pkgname=youtube-dl
version=2013.11.22.2
revision=1
wrksrc="${pkgname}"
makedepends="python"
short_desc="Tool to download youtube videos"
maintainer="pancake <pancake@nopcode.org>"
license="Public Domain"
homepage="http://rg3.github.com/youtube-dl/"
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
checksum=cb4a68565c27c73e7088f9da764a2996505ca06459d36e2f5176fa0dda89659e
do_install() {
vinstall ${pkgname} 755 usr/bin
vinstall ${pkgname}.1 644 usr/share/man/man1
vinstall ${pkgname}.bash-completion 644 usr/share/bash-completion/completions ${pkgname}
}
youtube-dl_package() {
noarch="yes"
depends="python"
pkg_install() {
vmove all
}
}