23 lines
832 B
Bash
23 lines
832 B
Bash
# Template file for 'youtube-dl'
|
|
pkgname=youtube-dl
|
|
version=2016.02.13
|
|
revision=1
|
|
noarch=yes
|
|
build_style=python-module
|
|
wrksrc="${pkgname}"
|
|
hostmakedepends="python"
|
|
depends="python"
|
|
pycompile_module="youtube_dl"
|
|
short_desc="Small CLI program to download videos from YouTube and other sites"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://rg3.github.com/youtube-dl/"
|
|
license="Public Domain"
|
|
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=8bb5cb62aad23fd3b049d9ffac76af6d76af8c18d68da3a3b9f602adaca1d534
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/etc
|
|
vinstall ${pkgname}.bash-completion 644 usr/share/bash-completion/completions ${pkgname}
|
|
vinstall ${pkgname}.zsh 644 usr/share/zsh/site-functions _${pkgname}
|
|
vinstall ${pkgname}.fish 644 usr/share/fish/completions ${pkgname}
|
|
}
|