summaryrefslogtreecommitdiff
path: root/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
diff options
context:
space:
mode:
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 8e91626e06..4ec2a1d58a 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;