summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2019-08-15 21:15:03 +0800
committerUniversebenzene2019-08-15 21:15:03 +0800
commit01157dcdf05725e59091cd68840b504126d8a5ee (patch)
tree18581294ed64f8e642ace6ce54336804eeefd091
parentbb6fe9b73cf742b507f0efdbc82d467b9aee05cf (diff)
downloadaur-01157dcdf05725e59091cd68840b504126d8a5ee.tar.gz
Update from upstream
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ac47d4c133..3fedd7e5826 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wps-office
pkgdesc = Kingsoft Office (WPS Office) is an office productivity suite
pkgver = 11.1.0.8722
- pkgrel = 3
+ pkgrel = 4
url = http://wps-community.org/
install = wps-office.install
arch = x86_64
@@ -28,7 +28,7 @@ pkgbase = wps-office
conflicts = kingsoft-office
options = !emptydirs
source = http://kdl.cc.ksosoft.com/wps-community/download/8722/wps-office_11.1.0.8722_amd64.deb
- sha1sums = 438cdd5057ebf16bff3b0b6b3a9f06fcfca9a3da
+ sha1sums = 7a420957166d2bf6430a67b186f16361dd7b5c7b
pkgname = wps-office
diff --git a/PKGBUILD b/PKGBUILD
index c0d7f56ff7b..6481dc4cb92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=wps-office
pkgver=11.1.0.8722
#_pkgver=8372
-pkgrel=3
+pkgrel=4
#_pkgrel=1
pkgdesc="Kingsoft Office (WPS Office) is an office productivity suite"
arch=('x86_64')
@@ -30,11 +30,11 @@ source=("http://kdl.cc.ksosoft.com/wps-community/download/${pkgver##*.}/wps-offi
# 'add_no_kdialog_variable.patch')
#sha1sums_i686=('60b1c9e33ee6fc1edcefe40dc9ec529d4a668825'
# 'dd8b5283ee17a88a3eb0531976abccd6e5e08c48')
-sha1sums=('438cdd5057ebf16bff3b0b6b3a9f06fcfca9a3da')
+sha1sums=('7a420957166d2bf6430a67b186f16361dd7b5c7b')
# '49ccf3e3d9c7c9c80294127ce063c56d2b57d7c4')
prepare() {
- tar -Jxf data.tar.xz
+ bsdtar -xpf data.tar.xz
cd "${srcdir}/usr/bin"
sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' *
@@ -43,8 +43,7 @@ prepare() {
cd "${srcdir}/usr/share/icons/hicolor"
- for _file in ./*
- do
+ for _file in ./*; do
if [ -e ${_file}/mimetypes/wps-office2019-etmain.png ]; then
mkdir -p ${_file}/apps
cp -p ${_file}/mimetypes/wps-office2019* ${_file}/apps
@@ -62,7 +61,7 @@ package() {
install -d "${pkgdir}/usr/lib"
cp -r office6 "${pkgdir}/usr/lib"
# chmod -x "${pkgdir}/usr/lib/office6/wpsoffice"
- install -Dm644 office6/mui/default/EULA.txt "${pkgdir}/usr/share/licenses/${pkgname}/EULA.txt"
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" office6/mui/default/*.txt
install -d "${pkgdir}/usr/bin"
cd "${srcdir}/usr/bin"