summaryrefslogtreecommitdiff
path: root/network/youtube-dl-server/youtube-dl-server.SlackBuild
diff options
context:
space:
mode:
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 . \