summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libreoffice/build/doinst.sh.l10n11
-rw-r--r--libreoffice/build/slack-desc.l10n19
2 files changed, 30 insertions, 0 deletions
diff --git a/libreoffice/build/doinst.sh.l10n b/libreoffice/build/doinst.sh.l10n
new file mode 100644
index 00000000..b7a890bd
--- /dev/null
+++ b/libreoffice/build/doinst.sh.l10n
@@ -0,0 +1,11 @@
+# Install dictionary extensions for spellchecking
+if [ -x "usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg" ]; then
+ UNOPKGTMP=$(mktemp -d unopkg.XXXXXX) || UNOPKGTMP=/tmp/unopkg.$$
+ if [ -f "usr/lib@LIBDIRSUFFIX@/@PRGNAM@/share/extension/install/dict-@LANG@.oxt" ]; then
+ chroot . /usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg add --shared \
+ usr/lib@LIBDIRSUFFIX@/@PRGNAM@/share/extension/install/dict-@LANG@.oxt \
+ "-env:UserInstallation=file:///$UNOPKGTMP" 1>/dev/null 2>/dev/null
+ fi
+ rm -rf $UNOPKGTMP
+fi
+
diff --git a/libreoffice/build/slack-desc.l10n b/libreoffice/build/slack-desc.l10n
new file mode 100644
index 00000000..d7993a73
--- /dev/null
+++ b/libreoffice/build/slack-desc.l10n
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+libreoffice-l10n-@LANG@: libreoffice-l10n-@LANG@ (LibreOffice @LANG@ localization)
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@: @LANGDESC@ language support for LibreOffice.
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@:
+libreoffice-l10n-@LANG@: libreoffice home: http://www.documentfoundation.org/