aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-19 00:41:53 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 02:27:21 +0700
commite17178a771562e6197ac9dd8211046df19b4da52 (patch)
tree91a05b6042e3fc1fc20a36500680f4499b142c81
parent153a43cd5aaf9e4889fca71e8b5b8f85c41189b8 (diff)
office/kate-latex-plugin: Fix PRGNAM for package name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--office/kate-latex-plugin/kate-latex-plugin.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild b/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
index a41a044590634..3284ac7fbf67f 100644
--- a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
+++ b/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for katelatexplugin
+# Slackware build script for kate-latex-plugin
# Copyright 2015 Guilherme Calandrini, Madrid, Spain
# All rights reserved.
@@ -22,8 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=katelatexplugin
+PRGNAM=kate-latex-plugin
+SRCNAM=katelatexplugin
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar jxvf $CWD/84772-$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/84772-$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \