aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl-server
diff options
context:
space:
mode:
Diffstat (limited to 'network/youtube-dl-server')
-rw-r--r--network/youtube-dl-server/README3
-rw-r--r--network/youtube-dl-server/doinst.sh3
-rw-r--r--network/youtube-dl-server/slack-desc4
-rw-r--r--network/youtube-dl-server/youtube-dl-server.SlackBuild10
-rw-r--r--network/youtube-dl-server/youtube-dl-server.info6
5 files changed, 15 insertions, 11 deletions
diff --git a/network/youtube-dl-server/README b/network/youtube-dl-server/README
index 82950a004ef4a..d1e0284cb3b9c 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 0000000000000..5fb28930db0b9
--- /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 a8f43471d9a83..094df47646e2b 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 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}
diff --git a/network/youtube-dl-server/youtube-dl-server.info b/network/youtube-dl-server/youtube-dl-server.info
index fb8d268687ba4..8d230e04f4883 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"