aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice/libreoffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r--office/libreoffice/libreoffice.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index d9c35110bcdd6..99be1b37781b8 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libreoffice
-VERSION=${VERSION:-"6.1.4"}
+VERSION=${VERSION:-"6.2.0"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -175,6 +175,10 @@ if [ "$DISABLE_JAVA" = "YES" ]; then
chmod -x $PKG/opt/libreoffice$SRCSHORT/program/javaldx
fi
+# Add libreoffice.sh to set SAL_USE_VCLPLUGIN=gtk
+mkdir -p $PKG/etc/profile.d/
+install -m755 $CWD/libreoffice.sh $PKG/etc/profile.d/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh