aboutsummaryrefslogtreecommitdiff
path: root/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2015-02-07 06:07:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 06:07:35 +0700
commit6773ceface0db404d43793f83a7c4189d738c209 (patch)
tree1cce4667214c1e7eba45a3ed8c74eabf8bc2a8fb /office/kchmviewer-qt/kchmviewer-qt.SlackBuild
parent925200a844954be5aa3a89c305c394145d7d8a25 (diff)
office/kchmviewer-qt: Updated for version 7.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/kchmviewer-qt/kchmviewer-qt.SlackBuild')
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
index 8e91626e06fd2..4ec2a1d58a5e1 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
+++ b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for KchmViewer (Qt-only version)
-# Copyright 2012-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kchmviewer-qt
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-7.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,7 +49,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $ORIG_PRGNAM-$VERSION
tar xvf $CWD/$ORIG_PRGNAM-$VERSION.tar.gz
-cd $ORIG_PRGNAM-$VERSION
+cd $ORIG_PRGNAM-${VERSION%.*}
chown -R root:root .
sed -i "s/$ORIG_PRGNAM/$PRGNAM/g;