diff options
author | aaditya <aaditya_gnulinux@zoho.com> | 2014-03-28 20:36:43 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-12 13:59:47 -0500 |
commit | 6a529b5875d133f72f526f2e5301fed2940d03fb (patch) | |
tree | 47c2bec014b953f42a7147f8e87c2ab56d7b8b50 /system/thermal_daemon | |
parent | 195471f3be2b5ed1180c39e35a598a623dd22711 (diff) |
system/thermal_daemon: Updated for version 1.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/thermal_daemon')
-rw-r--r-- | system/thermal_daemon/thermal_daemon.SlackBuild | 12 | ||||
-rw-r--r-- | system/thermal_daemon/thermal_daemon.info | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/system/thermal_daemon/thermal_daemon.SlackBuild b/system/thermal_daemon/thermal_daemon.SlackBuild index 9ec834af3ed3a..c77fbb195867c 100644 --- a/system/thermal_daemon/thermal_daemon.SlackBuild +++ b/system/thermal_daemon/thermal_daemon.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=thermal_daemon -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,13 +54,17 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +if [ -e $CWD/"v"$VERSION.tar.gz ]; then + tar xvf $CWD/"v"$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-"v"$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -94,7 +98,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING README.txt thermal_daemon_usage.txt \ + COPYING README.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/thermal_daemon/thermal_daemon.info b/system/thermal_daemon/thermal_daemon.info index c9d90aa02b443..4033ef6dcf690 100644 --- a/system/thermal_daemon/thermal_daemon.info +++ b/system/thermal_daemon/thermal_daemon.info @@ -1,8 +1,8 @@ PRGNAM="thermal_daemon" -VERSION="1.1" +VERSION="1.2" HOMEPAGE="https://github.com/01org/thermal_daemon" -DOWNLOAD="https://github.com/01org/thermal_daemon/archive/v1.1.tar.gz" -MD5SUM="e30d0bd8fb32bd493df207aa34a48751" +DOWNLOAD="https://github.com/01org/thermal_daemon/archive/v1.2.tar.gz" +MD5SUM="ead71150bd73a0ff9ce2d2b11ec88b33" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |