aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl/youtube-dl.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-11-19 02:59:59 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-21 11:44:13 +0700
commit0b431da6325e8dcdb4a96905e3f5c345686614e0 (patch)
tree716e4394748b328b2e9d8dd2c86dbe8ec756a600 /network/youtube-dl/youtube-dl.SlackBuild
parent84d5afa8d124c7f3a89f5880424091d05cf23df4 (diff)
network/youtube-dl: Updated for version 2015.11.18.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl/youtube-dl.SlackBuild')
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index 521c141352e2..a7265b38bd73 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2015.11.10}
+VERSION=${VERSION:-2015.11.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,6 +77,11 @@ patch -p1 < $CWD/setup.patch
make
python setup.py install --root=$PKG
+# Python 3 support.
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
# enable bash and fish completion file
chmod 0755 $PKG/etc/bash_completion.d/${PRGNAM}.bash-completion
chmod 0755 $PKG/etc/fish/completions/${PRGNAM}.fish