summaryrefslogtreecommitdiffstats
path: root/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-30 07:59:16 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-03 04:33:10 +0700
commit396136c13657a8e35bbb6057a6c0109c5ca674b2 (patch)
tree33d2f10afd603c49473d91b753a3b5334680aa0c /office/MasterPDFEditor/MasterPDFEditor.SlackBuild
parent609ed31c49663b1a5946d39fca2c55e2432ecf64 (diff)
downloadslackbuilds-396136c13657a8e35bbb6057a6c0109c5ca674b2.tar.gz
slackbuilds-396136c13657a8e35bbb6057a6c0109c5ca674b2.tar.xz
office/MasterPDFEditor: Updated for version 4.0.30.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/MasterPDFEditor/MasterPDFEditor.SlackBuild')
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index fd791548ba..5e88dd73ab 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-4.0.20}
+VERSION=${VERSION:-4.0.30}
MAJVER=4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
rm -rf $SRCNAM-$MAJVER
-tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
+if [ "$ARCH" = "x86_64" ]; then
+ tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
+else
+ tar xvf $CWD/${SRCNAM}-${VERSION}-1_${SOURCEARCH}.tar.gz
+fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \