summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2019-04-16 21:33:29 +0800
committerUniversebenzene2019-04-16 21:33:29 +0800
commit2b8fe4e4b3529aa72cd85c6d8658909def45324a (patch)
treeaad3fd74b46219c642f1e820d18571bf2ebc61b6
parentbcf3996b9ce64f1dc1688cf3c4b494b6bd25efbc (diff)
downloadaur-2b8fe4e4b3529aa72cd85c6d8658909def45324a.tar.gz
upgpkg: wps-office 11.1.0.8392
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
-rw-r--r--wps-office.install8
3 files changed, 29 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 604a95b19d4..6a15486e180 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Apr 15 06:58:16 UTC 2019
+# Tue Apr 16 13:32:57 UTC 2019
pkgbase = wps-office
pkgdesc = Kingsoft Office (WPS Office) is an office productivity suite
- pkgver = 11.1.0.8372
- pkgrel = 2
+ pkgver = 11.1.0.8392
+ pkgrel = 1
url = http://wps-community.org/
install = wps-office.install
arch = i686
@@ -28,13 +28,13 @@ pkgbase = wps-office
optdepends = ttf-wps-fonts: Symbol fonts required by wps-office
conflicts = kingsoft-office
options = !emptydirs
- source_i686 = http://kdl.cc.ksosoft.com/wps-community/download/8372/wps-office-11.1.0.8372-1.i686.rpm
+ source_i686 = http://kdl.cc.ksosoft.com/wps-community/download/8392/wps-office_11.1.0.8392_i386.deb
source_i686 = add_no_kdialog_variable.patch
- sha1sums_i686 = 9deb3908d8edad310258de0e31bcafdb5ff6bc5c
+ sha1sums_i686 = 60b1c9e33ee6fc1edcefe40dc9ec529d4a668825
sha1sums_i686 = dd8b5283ee17a88a3eb0531976abccd6e5e08c48
- source_x86_64 = http://kdl.cc.ksosoft.com/wps-community/download/8372/wps-office-11.1.0.8372-1.x86_64.rpm
+ source_x86_64 = http://kdl.cc.ksosoft.com/wps-community/download/8392/wps-office_11.1.0.8392_amd64.deb
source_x86_64 = add_no_kdialog_variable.patch
- sha1sums_x86_64 = d3abdfe94a579083c8bd5e0c817de877e7531e48
+ sha1sums_x86_64 = edb1bc215e46c46bb979869e374788498486b56c
sha1sums_x86_64 = dd8b5283ee17a88a3eb0531976abccd6e5e08c48
pkgname = wps-office
diff --git a/PKGBUILD b/PKGBUILD
index a0d19c965b2..08f9ca60c35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,10 +5,10 @@
# Contributor: Ariel AxionL <axionl at aosc dot io>
pkgname=wps-office
-pkgver=11.1.0.8372
+pkgver=11.1.0.8392
#_pkgver=8372
-pkgrel=2
-_pkgrel=1
+pkgrel=1
+#_pkgrel=1
pkgdesc="Kingsoft Office (WPS Office) is an office productivity suite"
arch=('i686' 'x86_64')
license=("custom")
@@ -23,16 +23,18 @@ conflicts=('kingsoft-office')
options=('!emptydirs')
install=${pkgname}.install
[[ "$CARCH" = "i686" ]] && _archext=x86 || _archext=x86_64
-source_i686=("http://kdl.cc.ksosoft.com/wps-community/download/${pkgver##*.}/wps-office-${pkgver}-${_pkgrel}.i686.rpm"
+source_i686=("http://kdl.cc.ksosoft.com/wps-community/download/${pkgver##*.}/wps-office_${pkgver}_i386.deb"
'add_no_kdialog_variable.patch')
-source_x86_64=("http://kdl.cc.ksosoft.com/wps-community/download/${pkgver##*.}/wps-office-${pkgver}-${_pkgrel}.x86_64.rpm"
+source_x86_64=("http://kdl.cc.ksosoft.com/wps-community/download/${pkgver##*.}/wps-office_${pkgver}_amd64.deb"
'add_no_kdialog_variable.patch')
-sha1sums_i686=('9deb3908d8edad310258de0e31bcafdb5ff6bc5c'
+sha1sums_i686=('60b1c9e33ee6fc1edcefe40dc9ec529d4a668825'
'dd8b5283ee17a88a3eb0531976abccd6e5e08c48')
-sha1sums_x86_64=('d3abdfe94a579083c8bd5e0c817de877e7531e48'
+sha1sums_x86_64=('edb1bc215e46c46bb979869e374788498486b56c'
'dd8b5283ee17a88a3eb0531976abccd6e5e08c48')
prepare() {
+ tar -Jxf data.tar.xz
+
cd "${srcdir}/usr/bin"
sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' wps wpp et
# sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wps
@@ -43,12 +45,12 @@ prepare() {
}
package() {
- #cd wps-office_${pkgver}_$_archext
+# cd wps-office_${pkgver}_$_archext
cd "${srcdir}/opt/kingsoft/wps-office/"
install -d "${pkgdir}/usr/lib"
cp -r office6 "${pkgdir}/usr/lib"
- chmod -x "${pkgdir}/usr/lib/office6/wpsoffice"
+# chmod -x "${pkgdir}/usr/lib/office6/wpsoffice"
install -Dm644 office6/mui/default/EULA.txt "${pkgdir}/usr/share/licenses/$pkgname/EULA.txt"
install -d "${pkgdir}/usr/bin"
@@ -65,10 +67,10 @@ package() {
install -d "${pkgdir}/usr/share/mime"
cp -r mime/* "${pkgdir}/usr/share/mime"
- #cp -r "$srcdir/usr/share" "${pkgdir}/usr/"
+# cp -r "$srcdir/usr/share" "${pkgdir}/usr/"
- #install -d "${pkgdir}/usr/share/fonts/wps-office"
- #cp -r fonts/* "${pkgdir}/usr/share/fonts/wps-office"
+# install -d "${pkgdir}/usr/share/fonts/wps-office"
+# cp -r fonts/* "${pkgdir}/usr/share/fonts/wps-office"
install -Dm644 -t "${pkgdir}/etc/xdg/menus/applications-merged" "${srcdir}/etc/xdg/menus/applications-merged/wps-office.menu"
}
diff --git a/wps-office.install b/wps-office.install
index fdd39f54ff2..a121c03f1c1 100644
--- a/wps-office.install
+++ b/wps-office.install
@@ -31,6 +31,14 @@ function whisperer(){
echo ""
echo "This is the Linux version, and it's now an ALPHA package."
echo "-----------------------------------------------------------------------"
+ echo ""
+ echo "-----------------------------------------------------------------------"
+ echo ""
+ echo "ATTENTION: When you shut down wps, the wpsoffice process may still exist."
+ echo "You can do 'sudo chmod -x /usr/lib/office6/wpsoffice' to fix it. But"
+ echo "this might bring you problem with signing in."
+ echo ""
+ echo "-----------------------------------------------------------------------"
}
function ks_install_icon()