aboutsummaryrefslogtreecommitdiff
path: root/office/MasterPDFEditor
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-02 01:23:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-02 01:23:45 +0700
commita47807f4b184879a7107c8ad03c214994730cb89 (patch)
treeede28d381d8de807179824ab67d0b7b7132899a5 /office/MasterPDFEditor
parent26babedd249ca37660356ee64f7ffca563d4d94c (diff)
office/MasterPDFEditor: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/MasterPDFEditor')
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index db3a49b1b97f..8e0a696434e4 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -65,17 +65,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
rm -rf $SRCNAM-$MAJVER
-mkdir -p $SRCNAM-$MAJVER
-cd $SRCNAM-$MAJVER
tar xvf $CWD/${SRCNAM}-${VERSION}${SOURCEARCH}.tar.gz
-cd ..
-chown -R root:root $SRCNAM-$MAJVER
-find -L $SRCNAM-$MAJVER \
+cd $SRCNAM-$MAJVER
+chown -R root:root .
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+cd ..
mv $SRCNAM-$MAJVER $PKG/opt
cd $PKG/opt/$SRCNAM-$MAJVER