void-packages/srcpkgs/youtube-dl/template

27 lines
711 B
Plaintext

# Template file for 'youtube-dl'
pkgname=youtube-dl
version=2013.11.07
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=11537cf289a0ee9eb555647c7743d3989c5e16759ec526b3b31382a2852c8c4b
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
}
}