summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01b07da816f100d9ec4692e2f856a8c89e6e6fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Shengyu Zhang <la@archlinuxcn.org>
# Contributor: yesuu zhang <yesuu79@qq.com>

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"
}