# Template file for 'youtube-dl'
pkgname=youtube-dl
version=2013.11.19
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=59d503475a0fa4059fc7c65130b6c6311e3621cb93930ede63aa4960e9ae0754

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
	}
}