summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2022-01-20 21:33:40 +0800
committerUniversebenzene2022-01-20 21:33:40 +0800
commitd9ae6e11e56f8ce7343b13ac0f652561f56927f5 (patch)
treef4b168080298a8441097cf39a7371240867a1d8a
parent56424eff4c11d2dc5b8fff9b176c9b6544d19296 (diff)
downloadaur-d9ae6e11e56f8ce7343b13ac0f652561f56927f5.tar.gz
Use system libfreetype for aarch64
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a506940ed19..620a3d1fc2f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wps-office-cn
pkgdesc = Kingsoft Office (WPS Office) CN version - an office productivity suite
pkgver = 11.1.0.10920
- pkgrel = 1
+ pkgrel = 2
url = https://linux.wps.cn
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index 36a97dc27d7..aaf6d55cc3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase=wps-office-cn
pkgname=('wps-office-cn' 'wps-office-mime-cn' 'wps-office-mui-zh-cn')
pkgver=11.1.0.10920
-pkgrel=1
+pkgrel=2
pkgdesc="Kingsoft Office (WPS Office) CN version - an office productivity suite"
arch=('x86_64' 'aarch64')
license=('custom')
@@ -52,6 +52,7 @@ package_wps-office-cn() {
install -d "${pkgdir}/usr/lib"
cp -r office6 "${pkgdir}/usr/lib"
+ [[ "$CARCH" = "aarch64" ]] && rm "${pkgdir}"/usr/lib/office6/libfreetype.so*
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" office6/mui/default/*.html
rm -r "${pkgdir}/usr/lib/office6/mui/en_US/resource/help"
rm -r "${pkgdir}/usr/lib/office6/mui/zh_CN"