summaryrefslogtreecommitdiff
path: root/community/fcitx-libpinyin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-libpinyin/PKGBUILD')
-rw-r--r--community/fcitx-libpinyin/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/fcitx-libpinyin/PKGBUILD b/community/fcitx-libpinyin/PKGBUILD
index 7a5f4fddf..a255ab991 100644
--- a/community/fcitx-libpinyin/PKGBUILD
+++ b/community/fcitx-libpinyin/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 93367 2013-07-02 09:47:24Z fyan $
+# $Id: PKGBUILD 93398 2013-07-03 05:13:18Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: poplarch <poplarch@gmail.com>
pkgname=fcitx-libpinyin
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/fcitx-libpinyin"
license=('GPL')
depends=('fcitx' 'libpinyin' 'fcitx-qt4' 'qtwebkit')
makedepends=('cmake' 'intltool' 'wget')
-source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz")
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}_dict.tar.xz"
+ "https://github.com/fcitx/fcitx-libpinyin/commit/7a68b40e36bd3425dae847a3860057a951ec5e78.patch")
install=$pkgname.install
build() {
cd "$srcdir/${pkgname}-${pkgver}"
+ # Fix importdict
+ patch -p1 -i ../7a68b40e36bd3425dae847a3860057a951ec5e78.patch
+
rm -rf build
mkdir build
cd build
@@ -32,4 +36,5 @@ package() {
make DESTDIR="${pkgdir}" install
}
-sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762')
+sha512sums=('e80e15a51f0d7de20abc4877d32796bbd93f30a2e4383bd64bccf1075696dddb2d0ea0180fff44ebee0e94988ab60e3d2526dd3f80bb99f4186e1bf4e3437762'
+ '0b4776d348db9616d9bd4485fe7950a5c88f349388a4dc97e0ec62beaf0d6729ba88c645b1f83d415af8c5808cde3aae4b8306fd65e21bd404e9a8105d5bcae0')