parent
24cd0bfc75
commit
519ad4123c
|
@ -0,0 +1 @@
|
|||
youtube-dl
|
|
@ -0,0 +1 @@
|
|||
youtube-dl
|
|
@ -1,12 +1,13 @@
|
|||
# Template file for 'youtube-dl'
|
||||
pkgname=youtube-dl
|
||||
version=2016.04.01
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
wrksrc="${pkgname}"
|
||||
hostmakedepends="python"
|
||||
depends="python"
|
||||
hostmakedepends="python python3.4"
|
||||
depends="python python-youtube-dl"
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="youtube_dl"
|
||||
short_desc="Small CLI program to download videos from YouTube and other sites"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -21,3 +22,24 @@ post_install() {
|
|||
vinstall ${pkgname}.zsh 644 usr/share/zsh/site-functions _${pkgname}
|
||||
vinstall ${pkgname}.fish 644 usr/share/fish/completions ${pkgname}
|
||||
}
|
||||
|
||||
python-youtube-dl_package() {
|
||||
short_desc+=" - Python2 module"
|
||||
noarch=yes
|
||||
pycompile_version="2.7"
|
||||
pycompile_module="youtube_dl"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python2.7
|
||||
}
|
||||
}
|
||||
|
||||
python3.4-youtube-dl_package() {
|
||||
short_desc+=" - Python3.4 module"
|
||||
noarch=yes
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="youtube_dl"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue