summaryrefslogtreecommitdiff
path: root/network/youtube-dl-server/youtube-dl-server.SlackBuild
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 /network/youtube-dl-server/youtube-dl-server.SlackBuild
parent34c043b35321c66a0bd27b0f781e3c1e0acb98fc (diff)
downloadslackbuilds-5f193ce2a08b58fc96bd70f103f3ec019c679e09.tar.gz
network/youtube-dl-server: Updated for version 0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl-server/youtube-dl-server.SlackBuild')
-rw-r--r--network/youtube-dl-server/youtube-dl-server.SlackBuild8
1 files changed, 4 insertions, 4 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 . \