summaryrefslogtreecommitdiff
path: root/graphics/HotShots/HotShots.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/HotShots/HotShots.SlackBuild')
-rw-r--r--graphics/HotShots/HotShots.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/HotShots/HotShots.SlackBuild b/graphics/HotShots/HotShots.SlackBuild
index 811c6ec68d..3625cabab9 100644
--- a/graphics/HotShots/HotShots.SlackBuild
+++ b/graphics/HotShots/HotShots.SlackBuild
@@ -5,7 +5,7 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
PRGNAM=HotShots
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,10 +53,10 @@ find -L . \
cd $TMP/$PRGNAM-$VERSION-src/build
- cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release .
+cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release .
make
make install DESTDIR=$PKG
cd ..
@@ -71,6 +71,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh