summaryrefslogtreecommitdiff
path: root/system/thinkfan/thinkfan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/thinkfan/thinkfan.SlackBuild')
-rw-r--r--system/thinkfan/thinkfan.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/thinkfan/thinkfan.SlackBuild b/system/thinkfan/thinkfan.SlackBuild
index 990094cab3..f229de2803 100644
--- a/system/thinkfan/thinkfan.SlackBuild
+++ b/system/thinkfan/thinkfan.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=thinkfan
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mv src/thinkfan.1 .
mkdir -p build
cd build
cmake \
@@ -87,6 +88,8 @@ cp $CWD/rc.thinkfan $PKG/etc/rc.d/rc.thinkfan.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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