office/libreoffice: Add loxxx symlinks.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-01-06 05:56:12 +07:00
parent 249199bac2
commit 5d64b8d2fa

View file

@ -121,6 +121,15 @@ cd $PKG/usr/bin
done
cd -
# The symlinks below are required to (directly) open documents
# supported by libreoffice with Xfe file manager.
ln -sf ../../opt/libreoffice$SRCSHORT/program/sbase lobase
ln -sf ../../opt/libreoffice$SRCSHORT/program/scalc localc
ln -sf ../../opt/libreoffice$SRCSHORT/program/sdraw lodraw
ln -sf ../../opt/libreoffice$SRCSHORT/program/simpress loimpress
ln -sf ../../opt/libreoffice$SRCSHORT/program/smath lomath
ln -sf ../../opt/libreoffice$SRCSHORT/program/swriter lowriter
# Remove DejaVu and Liberation fonts - these are included in other packages
rm -f opt/libreoffice$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.ttf