diff options
Diffstat (limited to 'system/thinkfan/thinkfan.SlackBuild')
-rw-r--r-- | system/thinkfan/thinkfan.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/thinkfan/thinkfan.SlackBuild b/system/thinkfan/thinkfan.SlackBuild index 1c23a629c3a85..3a8aa2446846a 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 |