network/youtube-dl-server: Updated for version 0.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-07-15 23:21:27 +07:00 committed by Willy Sudiarto Raharjo
parent 1e20581efa
commit 9ac6ca4530
5 changed files with 15 additions and 11 deletions

View file

@ -1 +1,2 @@
A youtube-dl REST API server.
A REST API server for getting the info for videos from different sites,
powered by youtube-dl.

View file

@ -0,0 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -8,7 +8,8 @@
|-----handy-ruler------------------------------------------------------|
youtube-dl-server: youtube-dl-server (youtube-dl REST API server)
youtube-dl-server:
youtube-dl-server: An API server based on youtube_dl.
youtube-dl-server: A REST API server for getting the info for videos from different
youtube-dl-server: sites, powered by youtube-dl.
youtube-dl-server:
youtube-dl-server: Homepage: https://github.com/jaimeMF/youtube-dl-api-server
youtube-dl-server:
@ -16,4 +17,3 @@ youtube-dl-server:
youtube-dl-server:
youtube-dl-server:
youtube-dl-server:
youtube-dl-server:

View file

@ -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}

View file

@ -1,8 +1,8 @@
PRGNAM="youtube-dl-server"
VERSION="alpha_5"
VERSION="0.1"
HOMEPAGE="https://github.com/jaimeMF/youtube-dl-api-server"
DOWNLOAD="https://pypi.python.org/packages/source/y/youtube_dl_server/youtube_dl_server-alpha.5.tar.gz"
MD5SUM="5433b209a91074ab5209b9d97988862f"
DOWNLOAD="https://pypi.python.org/packages/source/y/youtube_dl_server/youtube_dl_server-0.1.tar.gz"
MD5SUM="1b677069140dadf9d84c51fb05cae3f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Flask youtube-dl"