summaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-14 18:40:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-14 18:40:29 +0700
commit1777ff34621babc7758b93335ed9e13155399a67 (patch)
tree153c9edc8883c65523006bf7ca1ac56b7c77b45d /office/MasterPDFEditor/MasterPDFEditor.SlackBuild
parentfa05f89c8b71da6d92bdeb2d4e3900072569db71 (diff)
downloadslackbuilds-1777ff34621babc7758b93335ed9e13155399a67.tar.gz
office/MasterPDFEditor: Updated for version 5.4.20.
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, 4 insertions, 4 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index 034d3e0e81..b647bb79f0 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-5.4.10}
+VERSION=${VERSION:-5.4.20}
MAJVER=${MAJVER:-5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +45,7 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- SOURCEARCH="i386"
+ SOURCEARCH=".i386"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -53,7 +53,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- SOURCEARCH="qt4.amd64"
+ SOURCEARCH="-qt4.amd64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -65,7 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
rm -rf $SRCNAM-$MAJVER
-tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
+tar xvf $CWD/${SRCNAM}-${VERSION}${SOURCEARCH}.tar.gz
chown -R root:root $SRCNAM-$MAJVER
find -L $SRCNAM-$MAJVER \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \