summaryrefslogtreecommitdiffstats
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, 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 \