summaryrefslogtreecommitdiff
path: root/graphics/mtpaint
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 18:50:07 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:02 -0500
commita0bf5038b616c22e26ef3b55d50520a48c108106 (patch)
tree979aa048a7279144d916acd47b62c51ac9ec314f /graphics/mtpaint
parentafedede1f5fac75cc148949e7eff2216a77a102a (diff)
downloadslackbuilds-a0bf5038b616c22e26ef3b55d50520a48c108106.tar.gz
graphics/mtpaint: Fixed (compress man pages)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/mtpaint')
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index ad02c8b15f..264d2497ed 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=mtpaint
VERSION=${VERSION:-3.40}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -95,6 +95,9 @@ fi
cp -a [CNR]* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh