summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaditya <aaditya_gnulinux@zoho.com>2014-03-28 20:36:43 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:47 -0500
commit6a529b5875d133f72f526f2e5301fed2940d03fb (patch)
tree47c2bec014b953f42a7147f8e87c2ab56d7b8b50
parent195471f3be2b5ed1180c39e35a598a623dd22711 (diff)
downloadslackbuilds-6a529b5875d133f72f526f2e5301fed2940d03fb.tar.gz
system/thermal_daemon: Updated for version 1.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/thermal_daemon/thermal_daemon.SlackBuild12
-rw-r--r--system/thermal_daemon/thermal_daemon.info6
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=""