summaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
diff options
context:
space:
mode:
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 \