office/wps-office: Use local path instead of all /tmp/SBo.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-01 18:47:24 +07:00
parent 93fba643fb
commit b339da5ff9

View file

@ -51,8 +51,8 @@ DESTDIR=$PKG/opt/kingsoft
mkdir -p $DESTDIR/$PRGNAM
cd $TMP
tar xJvf $CWD/$PRGNAM$SRCVER.tar.xz
chown -R root:root .
find -L . \
chown -R root:root $PRGNAM$SRCVER
find -L $PRGNAM$SRCVER \
\( -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 \