summaryrefslogtreecommitdiff
path: root/community/fcitx-mozc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-mozc/PKGBUILD')
-rw-r--r--community/fcitx-mozc/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/community/fcitx-mozc/PKGBUILD b/community/fcitx-mozc/PKGBUILD
index 9cf53929f..d519edf26 100644
--- a/community/fcitx-mozc/PKGBUILD
+++ b/community/fcitx-mozc/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 100541 2013-11-05 17:38:22Z fyan $
+# $Id: PKGBUILD 103671 2014-01-09 06:33:11Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
## Mozc compile option
_bldtype=Release
-_zipcoderel=201310
+_zipcoderel=201312
_protobuf_ver=2.5.0
-_gyp_rev=1774
+_gyp_rev=1828
_pkgbase=mozc
_revision=178
pkgname=fcitx-mozc
pkgdesc="Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"
-pkgver=1.12.1599.102
+pkgver=1.13.1651.102
_patchver=${pkgver}.1
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/mozc/"
license=('custom')
@@ -23,9 +23,9 @@ depends=('qt4' 'fcitx' 'zinnia')
makedepends=('pkg-config' 'python2' 'gtest' 'curl' 'gtk2' 'mesa' 'svn')
replaces=('mozc-fcitx')
conflicts=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx')
-source=(svn+http://mozc.googlecode.com/svn#revision=$_revision
+source=(mozc::svn+http://mozc.googlecode.com/svn/trunk/src#revision=$_revision
gyp::svn+http://gyp.googlecode.com/svn/trunk#revision=$_gyp_rev
- http://downloads.sourceforge.net/pnsft-aur/ken_all-${_zipcoderel}.zip
+ http://downloads.sourceforge.net/pnsft-aur/x-ken-all${_zipcoderel}.zip
http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip
http://protobuf.googlecode.com/files/protobuf-${_protobuf_ver}.tar.bz2
http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${_patchver}.patch
@@ -41,7 +41,7 @@ build() {
CFLAGS="${CFLAGS} -I/usr/include/qt4 -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -I/usr/include/qt4 -fvisibility=hidden"
- cd svn/trunk/src
+ cd mozc
# Apply fcitx patch
rm unix/fcitx -rf
@@ -57,7 +57,7 @@ build() {
# Generate zip code seed
msg "Generating zip code seed..."
- python2 dictionary/gen_zip_code_seed.py --zip_code="${srcdir}/KEN_ALL.CSV" --jigyosyo="${srcdir}/JIGYOSYO.CSV" >> data/dictionary_oss/dictionary09.txt
+ python2 dictionary/gen_zip_code_seed.py --zip_code="${srcdir}/x-ken-all.csv" --jigyosyo="${srcdir}/JIGYOSYO.CSV" >> data/dictionary_oss/dictionary09.txt
msg "Done."
# Copy gyp
@@ -81,7 +81,7 @@ build() {
}
package() {
- cd svn/trunk/src
+ cd mozc
install -D -m 755 out_linux/${_bldtype}/mozc_server "${pkgdir}/usr/lib/mozc/mozc_server"
install -m 755 out_linux/${_bldtype}/mozc_tool "${pkgdir}/usr/lib/mozc/mozc_tool"
@@ -114,8 +114,8 @@ package() {
sha512sums=('SKIP'
'SKIP'
- 'f4ba607dc8d8ad6b12fbf47e6a9b56e1dee5552db65bb6a21e55b3db8567601df4e916f88ee039bb4f84dd7ad9994ad9e7b494fbb06d14b8ce6c8ca316e3a571'
- '551fd2ee44a0cdf317885351528d5248fc56c261e73b793ac46c8f043a6f5461e1e4400df67cd151a01891217185fc12993a6a0d727d9f8217947d9b23d7b69c'
+ 'f05c779257c8bc6e51ba8ab9fddec918a6de29d45c756bd3b83d42cb99265ada85313e980518096338ebcadcd0fe6433cbd9ad20a74f4116975eb7c168b72d81'
+ '87e8733cfc11528fa698b0a48f4e89c0dd02e2d79c804025219531fad4776cfcba720d720003d83a65401b4631c9ae1adc3395d18965066d232a76794ae3d54f'
'5994b3669808b82fef5c860ecad36358c0767f84acac877e7bfcf722e59d972835a955714149bdd4158fbd1328a51d01397a563991d26475351ee72be48142ee'
- 'e6a5a21520e36aa6cd27295c5a1b050a8f1a8dccf82918b0b57f17c79393c8b527c3f70dbfa2de0af42d3f85eac3095ef476a067fb24dbc2fa325c1f6a1138cc'
+ 'cd879029d87fd80a70796bd83ac67decbb58b181acafcee22110cb46a50c371c82b67babcfe80b1c05fa9beef3d3a7ddd580105a70c411795cf8c9ef745661e2'
'5507c637e5a65c44ccf6e32118b6d16647ece865171b9a77dd3c78e6790fbd97e6b219e68d2e27750e22074eb536bccf8d553c295d939066b72994b86b2f251a')