mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
graphics/mtpaint: Fixed (compress man pages)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
afedede1f5
commit
a0bf5038b6
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
PRGNAM=mtpaint
|
PRGNAM=mtpaint
|
||||||
VERSION=${VERSION:-3.40}
|
VERSION=${VERSION:-3.40}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -95,6 +95,9 @@ fi
|
||||||
cp -a [CNR]* $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a [CNR]* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
Loading…
Reference in a new issue