diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-03-05 21:17:19 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-10 07:11:01 +0700 |
commit | e96a0b59dd3146b32198b1bc2189fe6fb4389b47 (patch) | |
tree | 11039398d66f575bb4f6af1500d1da2c269155e2 /python/tqdm | |
parent | 65d940ffc79bcffd399ac482e8020ee148c59efa (diff) | |
download | slackbuilds-e96a0b59dd3146b32198b1bc2189fe6fb4389b47.tar.gz |
python/tqdm: Compress manpage.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/tqdm')
-rw-r--r-- | python/tqdm/tqdm.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tqdm/tqdm.SlackBuild b/python/tqdm/tqdm.SlackBuild index 7e555403c4..614376413f 100644 --- a/python/tqdm/tqdm.SlackBuild +++ b/python/tqdm/tqdm.SlackBuild @@ -79,6 +79,9 @@ fi 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 +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 README.rst LICENCE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |