aboutsummaryrefslogtreecommitdiff
path: root/development/p4v/p4v.SlackBuild
diff options
context:
space:
mode:
authorAndy Bailey <GooseYArd@gmail.com>2010-09-07 10:15:45 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-09-07 10:15:45 -0400
commit26aa480bd5da292fe9b578737d0b8d43a4f0940c (patch)
treeac7a31fe17427ed9cb2b96df1d6428f02bf87116 /development/p4v/p4v.SlackBuild
parent30d2a0014c850c907ebb1731d0c25c134c8a03b0 (diff)
development/p4v: Updated for version 2010.1.256349.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/p4v/p4v.SlackBuild')
-rw-r--r--development/p4v/p4v.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index 32ac6f7dcb40c..260e01ab63366 100644
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -23,8 +23,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org --michiel
+#
+# Change History
+# ==========
+# Mon Aug 30 11:39:47 EDT 2010: add version discovery (rab)
+#
+
+set -e
+LOCALVER=`tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
PRGNAM=p4v
-VERSION=${VERSION:-2010.1.251161}
+VERSION=${VERSION:-$LOCALVER}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}