network/asciinema: Updated for version 2.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
77c1ee8a63
commit
6d1c9e22d3
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue