summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-01-21 12:12:16 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-26 07:53:31 +0700
commit69ec008a651f7e97195039141659aba8636b9c1e (patch)
treecdba853fe48ef55aa7234fb3f4b0ad163a8f1c26
parent2b5eefd64a5dcfbc2b864d927631ffe85a666feb (diff)
downloadslackbuilds-69ec008a651f7e97195039141659aba8636b9c1e.tar.gz
slackbuilds-69ec008a651f7e97195039141659aba8636b9c1e.tar.xz
system/thinkfan: Updated for version 1.0.1.
-rw-r--r--system/thinkfan/thinkfan.SlackBuild10
-rw-r--r--system/thinkfan/thinkfan.info8
2 files changed, 10 insertions, 8 deletions
diff --git a/system/thinkfan/thinkfan.SlackBuild b/system/thinkfan/thinkfan.SlackBuild
index 1c23a629c3..3a8aa24468 100644
--- a/system/thinkfan/thinkfan.SlackBuild
+++ b/system/thinkfan/thinkfan.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for thinkfan
-# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=thinkfan
-VERSION=${VERSION:-0.9.3}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,6 @@ 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 \
@@ -77,7 +76,9 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -D USE_ATASMART:BOOL=ON ..
+ -DUSE_ATASMART:BOOL=ON \
+ -DUSE_YAML:BOOL=OFF \
+ ..
make install DESTDIR=$PKG
cd ..
@@ -96,6 +97,7 @@ mkdir -p $PKG/usr/doc
# docs are installed in the wrong location
mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
rmdir $PKG/usr/share/doc
+rmdir $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/thinkfan/thinkfan.info b/system/thinkfan/thinkfan.info
index ce5536b9d6..9b538b1ec3 100644
--- a/system/thinkfan/thinkfan.info
+++ b/system/thinkfan/thinkfan.info
@@ -1,8 +1,8 @@
PRGNAM="thinkfan"
-VERSION="0.9.3"
-HOMEPAGE="http://thinkfan.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/thinkfan/files/thinkfan-0.9.3.tar.gz"
-MD5SUM="1519f3a098a414fad6557720414b1689"
+VERSION="1.0.1"
+HOMEPAGE="https://github.com/vmatare/thinkfan"
+DOWNLOAD="https://github.com/vmatare/thinkfan/archive/1.0.1/thinkfan-1.0.1.tar.gz"
+MD5SUM="6ab6ef0c12809be7fa8be3d65b49f785"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""