mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
glade: Compress man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
3998c4f650
commit
d299f8ddb1
1 changed files with 4 additions and 1 deletions
5
deps/glade/glade.SlackBuild
vendored
5
deps/glade/glade.SlackBuild
vendored
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
PRGNAM=glade
|
PRGNAM=glade
|
||||||
VERSION=${VERSION:-3.20.0}
|
VERSION=${VERSION:-3.20.0}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -98,6 +98,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING* INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS COPYING* INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
# If there's a ChangeLog, installing at least part of the recent history
|
# If there's a ChangeLog, installing at least part of the recent history
|
||||||
# is useful, but don't let it get totally out of control:
|
# is useful, but don't let it get totally out of control:
|
||||||
if [ -r ChangeLog ]; then
|
if [ -r ChangeLog ]; then
|
||||||
|
|
Loading…
Reference in a new issue