summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/asciinema/asciinema.SlackBuild14
-rw-r--r--network/asciinema/asciinema.info6
2 files changed, 11 insertions, 9 deletions
diff --git a/network/asciinema/asciinema.SlackBuild b/network/asciinema/asciinema.SlackBuild
index 1028babd69..db3f23b1a4 100644
--- a/network/asciinema/asciinema.SlackBuild
+++ b/network/asciinema/asciinema.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for asciinema
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=asciinema
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,15 +72,17 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Fixed doc and manpage path
+sed -i -e "s/share\/doc/doc/" -e "s/share\/man/man/" setup.py
+
python3 setup.py install --root=$PKG
# install man page
-mkdir -p $PKG/usr/man/man1
-gzip -9 man/$PRGNAM.1
-install -D -m0644 man/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/asciinema/asciinema.info b/network/asciinema/asciinema.info
index 6f3d430abd..b110415859 100644
--- a/network/asciinema/asciinema.info
+++ b/network/asciinema/asciinema.info
@@ -1,8 +1,8 @@
PRGNAM="asciinema"
-VERSION="2.0.1"
+VERSION="2.0.2"
HOMEPAGE="https://asciinema.org"
-DOWNLOAD="https://github.com/asciinema/asciinema/archive/v2.0.1/asciinema-2.0.1.tar.gz"
-MD5SUM="c832ff9c484caaf034ddc5bd84c4e318"
+DOWNLOAD="https://files.pythonhosted.org/packages/a7/71/771c859795e02c71c187546f34f7535487b97425bc1dad1e5f6ad2651357/asciinema-2.0.2.tar.gz"
+MD5SUM="f3bda18659e40cfd9b37a790f47eaed7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"