summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-30 07:59:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-03 04:33:10 +0700
commit396136c13657a8e35bbb6057a6c0109c5ca674b2 (patch)
tree33d2f10afd603c49473d91b753a3b5334680aa0c
parent609ed31c49663b1a5946d39fca2c55e2432ecf64 (diff)
downloadslackbuilds-396136c13657a8e35bbb6057a6c0109c5ca674b2.tar.gz
office/MasterPDFEditor: Updated for version 4.0.30.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild8
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.info10
2 files changed, 11 insertions, 7 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 \
diff --git a/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info
index fc128935d5..21c507b087 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.info
+++ b/office/MasterPDFEditor/MasterPDFEditor.info
@@ -1,10 +1,10 @@
PRGNAM="MasterPDFEditor"
-VERSION="4.0.20"
+VERSION="4.0.30"
HOMEPAGE="https://code-industry.net/"
-DOWNLOAD="http://get.code-industry.net/public/master-pdf-editor-4.0.20_i386.tar.gz"
-MD5SUM="fa53514ecc619943b74359371697c947"
-DOWNLOAD_x86_64="http://get.code-industry.net/public/master-pdf-editor-4.0.20_qt4.amd64.tar.gz"
-MD5SUM_x86_64="7e40453b247634472a3a94235e9b3e6d"
+DOWNLOAD="http://get.code-industry.net/public/master-pdf-editor-4.0.30-1_i386.tar.gz"
+MD5SUM="a3e60ec26bdb1ac1c97ea5a38ee5125e"
+DOWNLOAD_x86_64="http://get.code-industry.net/public/master-pdf-editor-4.0.30_qt4.amd64.tar.gz"
+MD5SUM_x86_64="49ca5e51d9e8b298fce078dbf49f6291"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"