diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-04 04:25:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-04 04:25:24 +0700 |
commit | 2ad47108d0c00af276e2423574322e8d618fd209 (patch) | |
tree | 913d169fda2f39afb12a1ca540911665327dca88 /graphics/flameshot | |
parent | e9ee06a3b8e17d99a1c676d30a4e561558de1313 (diff) |
graphics/flameshot: Compress man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/flameshot')
-rw-r--r-- | graphics/flameshot/flameshot.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild index 9a138993d53e7..6dcfa06692f5b 100644 --- a/graphics/flameshot/flameshot.SlackBuild +++ b/graphics/flameshot/flameshot.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=flameshot VERSION=${VERSION:-12.1.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,6 +92,10 @@ cd .. 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 +mv $PKG/usr/share/man $PKG/usr +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 -r LICENSE README.md docs/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |