From 69ec008a651f7e97195039141659aba8636b9c1e Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Mon, 21 Jan 2019 12:12:16 -0800 Subject: system/thinkfan: Updated for version 1.0.1. --- system/thinkfan/thinkfan.SlackBuild | 10 ++++++---- system/thinkfan/thinkfan.info | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'system') 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 +# Copyright 2014-2019 Benjamin Trigona-Harany # 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 ce5536b9d66ee..9b538b1ec39d2 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="" -- cgit v1.2.3