wps-office: move to nonfree, remove unknown shlibs

This commit is contained in:
Đoàn Trần Công Danh 2023-01-24 07:24:42 +07:00 committed by Đoàn Trần Công Danh
parent 4053f17aa3
commit 659d41aeba
1 changed files with 10 additions and 4 deletions

View File

@ -1,10 +1,8 @@
# Template file for 'wps-office'
pkgname=wps-office
version=11.1.0.10920
revision=1
revision=2
archs="x86_64"
create_wrksrc=yes
makedepends="rpmextract"
short_desc="Linux office suite with similar appearance to MS Office"
maintainer="mobinmob <mobinmob@disroot.org>"
# The old Kingsoft WPS Community License has disappeared from the
@ -15,9 +13,12 @@ license="custom:EULA"
homepage="http://wps-community.org"
changelog="https://www.wps.com/whatsnew/linux/"
checksum=e252ac96473291df1e9dbeff2d1aedd1299f5ef411fa012ad617cfcd47dc3462
allow_unknown_shlibs=yes
# allow_unknown_shlibs=yes
nodebug=yes
nostrip=yes
restricted=yes
conflicts="EternalTerminal>=0"
repository=nonfree
# The programs themselves are PIE, but the error reporter isn't :/
@ -51,4 +52,9 @@ post_install() {
# Install third-party licenses
vlicense ${DESTDIR}/opt/kingsoft/wps-office/office6/thirdpartylegalnotices.txt
# Qt4
rm -f ${DESTDIR}/opt/kingsoft/wps-office/office6/librpc{et,wps,wpp}api.so
# systemd
rm -f ${DESTDIR}/opt/kingsoft/wps-office/office6/libdbus-1.so*
}