summaryrefslogtreecommitdiffstats
path: root/source/ap/lm_sensors/lm_sensors.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/lm_sensors/lm_sensors.SlackBuild')
-rwxr-xr-xsource/ap/lm_sensors/lm_sensors.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ap/lm_sensors/lm_sensors.SlackBuild b/source/ap/lm_sensors/lm_sensors.SlackBuild
index cb1b26ccc..b3a41b69a 100755
--- a/source/ap/lm_sensors/lm_sensors.SlackBuild
+++ b/source/ap/lm_sensors/lm_sensors.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2006, 2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2008, 2009, 2010, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
PKGNAM=lm_sensors
-VERSION=${VERSION:-3.3.2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on: