diff options
Diffstat (limited to 'community/fcitx/PKGBUILD')
-rw-r--r-- | community/fcitx/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/fcitx/PKGBUILD b/community/fcitx/PKGBUILD index b02e94367..6abc383d9 100644 --- a/community/fcitx/PKGBUILD +++ b/community/fcitx/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 98738 2013-10-17 14:01:45Z andyrtr $ +# $Id: PKGBUILD 108551 2014-03-28 15:39:10Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: csslayer <wengxt AT gmail com> @@ -6,17 +6,22 @@ pkgbase=fcitx pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4') pkgver=4.2.8.3 -pkgrel=2 +pkgrel=3 groups=('fcitx-im') arch=('i686' 'x86_64') url="http://fcitx-im.org" license=('GPL') -makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \ - 'iso-codes' 'gobject-introspection' 'libxkbfile') -source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz) +makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' 'opencc' \ + 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant') +source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz + add-a-context-variable-to-disable-punc.patch) + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i ../add-a-context-variable-to-disable-punc.patch +} build() { - cd "$srcdir" mkdir -p build cd build @@ -36,7 +41,7 @@ build() { } check() { - cd "${srcdir}/build" + cd build make test } @@ -73,7 +78,7 @@ package_fcitx() { 'gettext: for fcitx-po-parser') install=fcitx.install - cd "${srcdir}/build" + cd build make DESTDIR="${pkgdir}" install rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4} @@ -119,4 +124,5 @@ package_fcitx-qt4() { make DESTDIR="${pkgdir}" install } -sha512sums=('93c7aa5209f344e1e89addb1dca7a76cde884e4467c0db5f79e758ea8ffb0fe1207ba1c507fb6574fe8223fa873ed5d1dd44835b70cf9254f5149df8e242e92d') +sha512sums=('93c7aa5209f344e1e89addb1dca7a76cde884e4467c0db5f79e758ea8ffb0fe1207ba1c507fb6574fe8223fa873ed5d1dd44835b70cf9254f5149df8e242e92d' + 'ceb4d1b768f2f0c90c5bcde2c00a713883bed28d0e0e1f00a00c685020794d296045690cd55939127d0e204851248fe107e8a277571a8f7dbafde0eed29c340d') |