void-packages/srcpkgs/youtube-dl/template

27 lines
711 B
Plaintext
Raw Normal View History

2013-04-05 17:19:37 +02:00
# Template file for 'youtube-dl'
pkgname=youtube-dl
2013-11-10 10:14:58 +01:00
version=2013.11.07
2013-04-05 17:19:37 +02:00
revision=1
2013-08-31 21:14:35 +02:00
wrksrc="${pkgname}"
makedepends="python"
2013-04-05 17:19:37 +02: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 14:24:45 +02:00
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
2013-11-10 10:14:58 +01:00
checksum=11537cf289a0ee9eb555647c7743d3989c5e16759ec526b3b31382a2852c8c4b
2013-04-05 17:19:37 +02:00
do_install() {
2013-08-31 21:14:35 +02:00
vinstall ${pkgname} 755 usr/bin
vinstall ${pkgname}.1 644 usr/share/man/man1
2013-09-13 14:24:45 +02:00
vinstall ${pkgname}.bash-completion 644 usr/share/bash-completion/completions ${pkgname}
2013-04-05 17:19:37 +02:00
}
youtube-dl_package() {
noarch="yes"
depends="python"
pkg_install() {
2013-08-31 21:14:35 +02:00
vmove all
}
}