office/MasterPDFEditor: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-09-02 01:23:45 +07:00
parent 26babedd24
commit a47807f4b1
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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