summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-06-06 15:37:00 +0800
committerUniversebenzene2018-06-06 15:37:00 +0800
commitcba1bcee3d1d0daa9c4e46de7e95e8bcb47e0148 (patch)
treec051dc81d9b3b4f21fb6606d9bed68366950a815
parentb13d955c8fb2ab7b601e1173cfdce5979f25f536 (diff)
downloadaur-cba1bcee3d1d0daa9c4e46de7e95e8bcb47e0148.tar.gz
upgpkg: wps-office 10.1.0.6634
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD52
2 files changed, 33 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 70758d5c47a..e86a0cd2957 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jun 21 04:07:20 UTC 2017
+# Wed Jun 6 07:34:02 UTC 2018
pkgbase = wps-office
pkgdesc = Kingsoft Office (WPS Office) is an office productivity suite
- pkgver = 10.1.0.5707_a21
- pkgrel = 2
+ pkgver = 10.1.0.6634
+ pkgrel = 1
url = http://wps-community.org/
install = wps-office.install
arch = i686
@@ -25,10 +25,10 @@ pkgbase = wps-office
optdepends = pango: for complex (right-to-left) text support
conflicts = kingsoft-office
options = !emptydirs
- source_i686 = http://kdl1.cache.wps.com/ksodl/download/linux/a21/wps-office_10.1.0.5707~a21_x86.tar.xz
- sha1sums_i686 = 1736e84c405e4548978d27e0ea5071ab73cfc424
- source_x86_64 = http://kdl1.cache.wps.com/ksodl/download/linux/a21/wps-office_10.1.0.5707~a21_x86_64.tar.xz
- sha1sums_x86_64 = 1970df8c0e6a03649b6809472b89628a685188dc
+ source_i686 = http://kdl.cc.ksosoft.com/wps-community/download/6634/wps-office_10.1.0.6634_x86.tar.xz
+ sha1sums_i686 = a6ca04067b63d1425fd8a73c9a29506184273962
+ source_x86_64 = http://kdl.cc.ksosoft.com/wps-community/download/6634/wps-office_10.1.0.6634_x86_64.tar.xz
+ sha1sums_x86_64 = afdbf0b8667777f2266ba9231414dcf35e3d1cc1
pkgname = wps-office
diff --git a/PKGBUILD b/PKGBUILD
index 39fee23465c..1a56fa30e22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,9 @@
# Contributor: Jove Yu <yushijun110 [at] gmail.com>
pkgname=wps-office
-pkgver=10.1.0.5707_a21
-_pkgver=10.1.0.5707~a21
-pkgrel=2
+pkgver=10.1.0.6634
+#_pkgver=10.1.0.5707~a21
+pkgrel=1
pkgdesc="Kingsoft Office (WPS Office) is an office productivity suite"
arch=('i686' 'x86_64')
license=("custom")
@@ -18,42 +18,42 @@ conflicts=('kingsoft-office')
options=('!emptydirs')
install=${pkgname}.install
[[ "$CARCH" = "i686" ]] && _archext=x86 || _archext=x86_64
-source_i686=("http://kdl1.cache.wps.com/ksodl/download/linux/a21/wps-office_${_pkgver}_x86.tar.xz")
-source_x86_64=("http://kdl1.cache.wps.com/ksodl/download/linux/a21/wps-office_${_pkgver}_x86_64.tar.xz")
-sha1sums_i686=('1736e84c405e4548978d27e0ea5071ab73cfc424')
-sha1sums_x86_64=('1970df8c0e6a03649b6809472b89628a685188dc')
+source_i686=("http://kdl.cc.ksosoft.com/wps-community/download/6634/wps-office_${pkgver}_x86.tar.xz")
+source_x86_64=("http://kdl.cc.ksosoft.com/wps-community/download/6634/wps-office_${pkgver}_x86_64.tar.xz")
+sha1sums_i686=('a6ca04067b63d1425fd8a73c9a29506184273962')
+sha1sums_x86_64=('afdbf0b8667777f2266ba9231414dcf35e3d1cc1')
PKGEXT=".pkg.tar"
prepare() {
- cd wps-office_${_pkgver}_$_archext
+ cd wps-office_${pkgver}_$_archext
- sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' wps wpp et
- sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wps
- sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wpp et
+ sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' wps wpp et
+# sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wps
+# sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wpp et
}
package() {
- cd wps-office_${_pkgver}_$_archext
+ cd wps-office_${pkgver}_$_archext
- install -d "$pkgdir/usr/lib"
- cp -r office6 "$pkgdir/usr/lib"
+ install -d "${pkgdir}/usr/lib"
+ cp -r office6 "${pkgdir}/usr/lib"
- install -d "$pkgdir/usr/bin"
- install -m755 wps wpp et "$pkgdir/usr/bin"
+ install -d "${pkgdir}/usr/bin"
+ install -m755 wps wpp et "${pkgdir}/usr/bin"
- install -d "$pkgdir/usr/share/applications"
- cp -r resource/applications/* "$pkgdir/usr/share/applications"
+ install -d "${pkgdir}/usr/share/applications"
+ cp -r resource/applications/* "${pkgdir}/usr/share/applications"
- install -d "$pkgdir/usr/share/icons"
- cp -r resource/icons/* "$pkgdir/usr/share/icons"
+ install -d "${pkgdir}/usr/share/icons"
+ cp -r resource/icons/* "${pkgdir}/usr/share/icons"
- install -d "$pkgdir/usr/share/mime"
- cp -r resource/mime/* "$pkgdir/usr/share/mime"
+ install -d "${pkgdir}/usr/share/mime"
+ cp -r resource/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 office6/mui/default/EULA.txt "$pkgdir/usr/share/licenses/$pkgname/EULA.txt"
+ install -Dm644 office6/mui/default/EULA.txt "${pkgdir}/usr/share/licenses/$pkgname/EULA.txt"
}