void-packages/srcpkgs/youtube-dl/template

27 lines
711 B
Text
Raw Normal View History

2013-04-05 15:19:37 +00:00
# Template file for 'youtube-dl'
pkgname=youtube-dl
2013-11-20 00:55:44 +00:00
version=2013.11.19
2013-04-05 15:19:37 +00:00
revision=1
2013-08-31 19:14:35 +00:00
wrksrc="${pkgname}"
makedepends="python"
2013-04-05 15:19:37 +00:00
short_desc="Tool to download youtube videos"
maintainer="pancake <pancake@nopcode.org>"
license="Public Domain"
homepage="http://rg3.github.com/youtube-dl/"
2013-09-13 12:24:45 +00:00
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
2013-11-20 00:55:44 +00:00
checksum=59d503475a0fa4059fc7c65130b6c6311e3621cb93930ede63aa4960e9ae0754
2013-04-05 15:19:37 +00:00
do_install() {
2013-08-31 19:14:35 +00:00
vinstall ${pkgname} 755 usr/bin
vinstall ${pkgname}.1 644 usr/share/man/man1
2013-09-13 12:24:45 +00:00
vinstall ${pkgname}.bash-completion 644 usr/share/bash-completion/completions ${pkgname}
2013-04-05 15:19:37 +00:00
}
youtube-dl_package() {
noarch="yes"
depends="python"
pkg_install() {
2013-08-31 19:14:35 +00:00
vmove all
}
}