diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-07-15 23:21:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-16 18:26:51 +0700 |
commit | 9ac6ca4530a80707a184a1bc2da9f494cf15bc80 (patch) | |
tree | 03516246cdb176abdb673865f1aed65645d05a87 | |
parent | 1e20581efa9abeeca5658db51cc56142b78e7656 (diff) |
network/youtube-dl-server: Updated for version 0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/youtube-dl-server/README | 3 | ||||
-rw-r--r-- | network/youtube-dl-server/doinst.sh | 3 | ||||
-rw-r--r-- | network/youtube-dl-server/slack-desc | 4 | ||||
-rw-r--r-- | network/youtube-dl-server/youtube-dl-server.SlackBuild | 10 | ||||
-rw-r--r-- | network/youtube-dl-server/youtube-dl-server.info | 6 |
5 files changed, 15 insertions, 11 deletions
diff --git a/network/youtube-dl-server/README b/network/youtube-dl-server/README index 82950a004ef4..d1e0284cb3b9 100644 --- a/network/youtube-dl-server/README +++ b/network/youtube-dl-server/README @@ -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. diff --git a/network/youtube-dl-server/doinst.sh b/network/youtube-dl-server/doinst.sh new file mode 100644 index 000000000000..5fb28930db0b --- /dev/null +++ b/network/youtube-dl-server/doinst.sh @@ -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 diff --git a/network/youtube-dl-server/slack-desc b/network/youtube-dl-server/slack-desc index a8f43471d9a8..094df47646e2 100644 --- a/network/youtube-dl-server/slack-desc +++ b/network/youtube-dl-server/slack-desc @@ -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: diff --git a/network/youtube-dl-server/youtube-dl-server.SlackBuild b/network/youtube-dl-server/youtube-dl-server.SlackBuild index 4eed0a7d1b18..fd2ff1f7acb3 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} diff --git a/network/youtube-dl-server/youtube-dl-server.info b/network/youtube-dl-server/youtube-dl-server.info index fb8d268687ba..8d230e04f488 100644 --- a/network/youtube-dl-server/youtube-dl-server.info +++ b/network/youtube-dl-server/youtube-dl-server.info @@ -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" |