[arch-commits] Commit in fcitx-libpinyin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 31 12:47:59 UTC 2017
Date: Thursday, August 31, 2017 @ 12:47:57
Author: felixonmars
Revision: 255179
upgpkg: fcitx-libpinyin 0.5.2-1
Modified:
fcitx-libpinyin/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-31 12:37:40 UTC (rev 255178)
+++ PKGBUILD 2017-08-31 12:47:57 UTC (rev 255179)
@@ -3,9 +3,9 @@
# Contributor: poplarch <poplarch at gmail.com>
pkgname=fcitx-libpinyin
-pkgver=0.5.1
+pkgver=0.5.2
_model=model.text.20161206.tar.gz
-pkgrel=5
+pkgrel=1
pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/fcitx-libpinyin"
@@ -14,14 +14,12 @@
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx-libpinyin/archive/$pkgver.tar.gz"
"$pkgname-$_model::http://download.fcitx-im.org/data/$_model")
-sha512sums=('5847d98c639584aa53be630c7d96f529fa03f5c88f2e2dc657256c7192d09e93abc36be5c77da2a3b6f57674a4a9e0f666df9da9d5b18e02a42d914c5cc4aacf'
+sha512sums=('c74628613445afda7cbadc9f0f475d8a6fbf34add25f5a86f9ede9e3948604b50def841293201914608d2993835bd356dfa0acf95e4d7a68977b38c9c113e7ae'
'26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429')
prepare() {
mkdir build
ln -s "$srcdir"/$pkgname-$_model fcitx-libpinyin-$pkgver/data/$_model
-
- sed -i 's/pinyin_guess_candidates(m_inst, pinyinOffset());/pinyin_guess_candidates(m_inst, pinyinOffset(), SORT_BY_PHRASE_LENGTH_AND_FREQUENCY);/' fcitx-libpinyin-$pkgver/src/eim.cpp
}
build() {
More information about the arch-commits
mailing list