aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl-server/youtube-dl-server.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-07-15 23:21:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-16 18:26:51 +0700
commit9ac6ca4530a80707a184a1bc2da9f494cf15bc80 (patch)
tree03516246cdb176abdb673865f1aed65645d05a87 /network/youtube-dl-server/youtube-dl-server.SlackBuild
parent1e20581efa9abeeca5658db51cc56142b78e7656 (diff)
network/youtube-dl-server: Updated for version 0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/youtube-dl-server/youtube-dl-server.SlackBuild')
-rw-r--r--network/youtube-dl-server/youtube-dl-server.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/youtube-dl-server/youtube-dl-server.SlackBuild b/network/youtube-dl-server/youtube-dl-server.SlackBuild
index 4eed0a7d1b18f..fd2ff1f7acb3c 100644
--- a/network/youtube-dl-server/youtube-dl-server.SlackBuild
+++ b/network/youtube-dl-server/youtube-dl-server.SlackBuild
@@ -24,8 +24,7 @@
PRGNAM=youtube-dl-server
SRCNAM=youtube_dl_server
-VERSION=${VERSION:-alpha_5}
-SRCVERSION=$(echo $VERSION | tr _ .)
+VERSION=${VERSION:-0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
-cd $SRCNAM-$SRCVERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,6 +81,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}