diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-01-20 11:49:47 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-26 07:53:36 +0700 |
commit | 6d1c9e22d3bfe0e1e2385f6472ccccbd65ea971a (patch) | |
tree | d58ce8685a6b94b2304110d34753543651e570cb /network | |
parent | 77c1ee8a63bfbfeecba7c379de5dac6132409e82 (diff) |
network/asciinema: Updated for version 2.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network')
-rw-r--r-- | network/asciinema/asciinema.SlackBuild | 14 | ||||
-rw-r--r-- | network/asciinema/asciinema.info | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/network/asciinema/asciinema.SlackBuild b/network/asciinema/asciinema.SlackBuild index 1028babd698d..db3f23b1a424 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 6f3d430abd69..b1104158599c 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" |