blob: 0b72621635241d1d6961d32172763f494c8608f1 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgbase=vim-coc-sources-git
pkgname=('vim-coc-syntax-git'
'vim-coc-tag-git'
'vim-coc-dictionary-git'
'vim-coc-word-git'
'vim-coc-emoji-git')
arch=('any')
url='https://github.com/neoclide/coc-sources'
makedepends=('git')
license=('MIT')
groups=('vim-coc-extras-git')
source=("coc-sources::git+${url}.git")
pkgver=1.2.5.r0.ga2f059e
pkgrel=1
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/coc-sources"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package_vim-coc-syntax-git() {
pkgdesc='Syntax words completion source for coc.nvim'
depends=('vim-coc')
_packdir="usr/share/vim/vimfiles/pack/coc/start/coc-syntax"
provides=("vim-coc-syntax")
conflicts=("vim-coc-syntax")
cd "${srcdir}/coc-sources/packages/syntax"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_vim-coc-tag-git() {
pkgdesc='tag source for coc.nvim'
depends=('vim-coc')
_packdir="usr/share/vim/vimfiles/pack/coc/start/coc-tag"
provides=("vim-coc-tag")
conflicts=("vim-coc-tag")
cd "${srcdir}/coc-sources/packages/tag"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_vim-coc-dictionary-git() {
pkgdesc='dictionary source for coc.nvim'
depends=('vim-coc' 'words')
_packdir="usr/share/vim/vimfiles/pack/coc/start/coc-dictionary"
provides=("vim-coc-dictionary")
conflicts=("vim-coc-dictionary")
cd "${srcdir}/coc-sources/packages/dictionary"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_vim-coc-word-git() {
pkgdesc='word source for coc.nvim'
depends=('vim-coc')
_packdir="usr/share/vim/vimfiles/pack/coc/start/coc-word"
provides=("vim-coc-word")
conflicts=("vim-coc-word")
cd "${srcdir}/coc-sources/packages/word"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_vim-coc-emoji-git() {
pkgdesc='emoji source for coc.nvim'
depends=('vim-coc' 'words')
_packdir="usr/share/vim/vimfiles/pack/coc/start/coc-emoji"
provides=("vim-coc-emoji")
conflicts=("vim-coc-emoji")
cd "${srcdir}/coc-sources/packages/emoji"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
|