mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/MasterPDFEditor: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
26babedd24
commit
a47807f4b1
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue