summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-05-16 20:27:56 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 23:45:40 +0700
commit5f193ce2a08b58fc96bd70f103f3ec019c679e09 (patch)
tree7fd99c34c20174c80ff3e8de79b8590177dc3ee1
parent34c043b35321c66a0bd27b0f781e3c1e0acb98fc (diff)
downloadslackbuilds-5f193ce2a08b58fc96bd70f103f3ec019c679e09.tar.gz
network/youtube-dl-server: Updated for version 0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--network/youtube-dl-server/youtube-dl-server.SlackBuild8
-rw-r--r--network/youtube-dl-server/youtube-dl-server.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/network/youtube-dl-server/youtube-dl-server.SlackBuild b/network/youtube-dl-server/youtube-dl-server.SlackBuild
index abe6cb89b5..ce2ca628af 100644
--- a/network/youtube-dl-server/youtube-dl-server.SlackBuild
+++ b/network/youtube-dl-server/youtube-dl-server.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for youtube-dl-server
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl-server
-SRCNAM=youtube-dl-api-server
-VERSION=${VERSION:-0.1.2}
+SRCNAM=$(echo $PRGNAM | tr - _)
+VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/network/youtube-dl-server/youtube-dl-server.info b/network/youtube-dl-server/youtube-dl-server.info
index 477a4fc784..128146d3fd 100644
--- a/network/youtube-dl-server/youtube-dl-server.info
+++ b/network/youtube-dl-server/youtube-dl-server.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-dl-server"
-VERSION="0.1.2"
+VERSION="0.2"
HOMEPAGE="https://github.com/jaimeMF/youtube-dl-api-server"
-DOWNLOAD="https://github.com/jaimeMF/youtube-dl-api-server/archive/0.1.2.tar.gz"
-MD5SUM="8534e7ce863e7818f6218443b3a58b6a"
+DOWNLOAD="https://pypi.python.org/packages/source/y/youtube_dl_server/youtube_dl_server-0.2.tar.gz"
+MD5SUM="c1d799fd5a303b5eea268033319d4804"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Flask youtube-dl"