summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 543bacc18d95d87476385f060c363e2810eec242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: yesuu zhang <yesuu79@qq.com>

pkgname=vim-fcitx
pkgver=1.2.5
pkgrel=1
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=('vim>=7.0')
optdepends=('fcitx: input support')
source=('fcitx.vim.tar.gz::https://vim.sourceforge.io/scripts/download_script.php?src_id=25227')
sha256sums=('e33d8c0629b41713c3e489a3dfa97e5b7cf5fbbc7c5e18a07bf04d7c2946e58f')

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