From 6a529b5875d133f72f526f2e5301fed2940d03fb Mon Sep 17 00:00:00 2001 From: aaditya Date: Fri, 28 Mar 2014 20:36:43 -0500 Subject: system/thermal_daemon: Updated for version 1.2. Signed-off-by: Robby Workman --- system/thermal_daemon/thermal_daemon.SlackBuild | 12 ++++++++---- 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 9ec834af3e..c77fbb1958 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 c9d90aa02b..4033ef6dcf 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="" -- cgit v1.2.3