diff options
Diffstat (limited to 'network/youtube-dl-server/youtube-dl-server.SlackBuild')
-rw-r--r-- | network/youtube-dl-server/youtube-dl-server.SlackBuild | 10 |
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 4eed0a7d1b..fd2ff1f7ac 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} |