aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-16 02:35:08 -0400
committerB. Watson <yalhcru@gmail.com>2022-03-17 13:23:07 -0400
commitccd98f72f6edbe544b1ac5bcae36dfc2fdaf2cf3 (patch)
tree3bd5b223a17f6978141a61c1f70ba76fd881d087
parent294214e3bf3464b03e899068d727a6247c57e95c (diff)
games/dmagnetic: gzip the man pages.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--games/dmagnetic/dmagnetic.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/dmagnetic/dmagnetic.SlackBuild b/games/dmagnetic/dmagnetic.SlackBuild
index a030f57ff144..82ea798b8d70 100644
--- a/games/dmagnetic/dmagnetic.SlackBuild
+++ b/games/dmagnetic/dmagnetic.SlackBuild
@@ -17,13 +17,15 @@
# happen. The manual source is available, as TeX source, but I see no
# reason to build it instead of using the prebuilt PDF file.
+# 20220316 bkw: BUILD=2, derp, gzip the man pages.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dmagnetic
SRCNAM=dMagnetic
VERSION=${VERSION:-0.32}
MANVER=${MANVER:-$VERSION}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,6 +77,8 @@ make install \
INSTALLBIN=$PKG/usr/games \
INSTALLMAN=$PKG/usr/man
+gzip $PKG/usr/man/man*/*
+
# lowercase name aliases.
ln -s $SRCNAM.6.gz $PKG/usr/man/man6/$PRGNAM.6.gz
ln -s $SRCNAM $PKG/usr/games/$PRGNAM