summaryrefslogtreecommitdiff
path: root/system/thinkfan/thinkfan.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-09-22 21:07:52 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:06:01 +0700
commitaa712e4db09b681ba31f397f334d87776c98e873 (patch)
tree71f3d388979348bdb84367a18e6aef8e243f7f79 /system/thinkfan/thinkfan.SlackBuild
parentd37e6eceab1157f2a690bd3cabaa812834833393 (diff)
downloadslackbuilds-aa712e4db09b681ba31f397f334d87776c98e873.tar.gz
system/thinkfan: Updated for version 0.9.3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
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