summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
-rw-r--r--wps-office.install16
3 files changed, 3 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13cd25053b87..a204bb145d42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Jun 7 12:11:59 UTC 2018
+# Mon Sep 10 11:58:13 UTC 2018
pkgbase = wps-office
pkgdesc = Kingsoft Office (WPS Office) is an office productivity suite
pkgver = 10.1.0.6634
@@ -10,6 +10,7 @@ pkgbase = wps-office
arch = x86_64
license = custom
depends = fontconfig
+ depends = xorg-mkfontdir
depends = libxrender
depends = desktop-file-utils
depends = shared-mime-info
diff --git a/PKGBUILD b/PKGBUILD
index c9e515ab763f..621012c1ea7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ pkgdesc="Kingsoft Office (WPS Office) is an office productivity suite"
arch=('i686' 'x86_64')
license=("custom")
url="http://wps-community.org/"
-depends=('fontconfig' 'libxrender' 'desktop-file-utils' 'shared-mime-info' 'xdg-utils' 'glu' 'openssl-1.0' 'sdl2' 'libpulse' 'hicolor-icon-theme')
+depends=('fontconfig' 'xorg-mkfontdir' 'libxrender' 'desktop-file-utils' 'shared-mime-info' 'xdg-utils' 'glu' 'openssl-1.0' 'sdl2' 'libpulse' 'hicolor-icon-theme')
optdepends=('cups: for printing support'
'libjpeg-turbo: JPEG image codec support'
'pango: for complex (right-to-left) text support'
diff --git a/wps-office.install b/wps-office.install
index 8cacd83782af..fdd39f54ff24 100644
--- a/wps-office.install
+++ b/wps-office.install
@@ -144,20 +144,9 @@ function ks_config_menu()
}
-function ks_config_fonts()
-{
- if [ -d /usr/share/fonts/wps-office ] ; then
- cd /usr/share/fonts/wps-office
- mkfontscale
- mkfontdir
- fc-cache -f
- fi
-}
-
function ks_config()
{
ks_config_menu
- ks_config_fonts
}
function ks_remove()
@@ -173,11 +162,6 @@ function ks_remove()
if [ -x /usr/bin/update-desktop-database ] ; then
update-desktop-database -q "${ksv_xdg_dir}/applications"
fi
-
- if [ -d /usr/share/fonts/wps-office ] ; then
- cd /usr/share/fonts
- fc-cache -f
- fi
}
function ks_purge()