# Maintainer: Shengyu Zhang # Contributor: yesuu zhang pkgname=vim-fcitx pkgver=1.2.6 pkgrel=2 pkgdesc="Keep and restore fcitx state for each buffer separately when leaving/re-entering insert mode. Like always typing English in normal mode, but Chinese in insert mode." arch=('any') url="https://vim.sourceforge.io/scripts/script.php?script_id=3764" license=('unknown') groups=('vim-plugins') depends=() optdepends=('fcitx: input support' 'fcitx5: input support' ) source=('fcitx.vim.tar.gz::https://www.vim.org/scripts/download_script.php?src_id=26499') sha256sums=('959d1bd6c0411cf8d1b1eca37f6baafcfa33c5fd381a8dd97d31040c72b183c0') package() { cd ${srcdir} install --directory "${pkgdir}/usr/share/vim/vimfiles" cp -r plugin "${pkgdir}/usr/share/vim/vimfiles" cp -r so "${pkgdir}/usr/share/vim/vimfiles" }