blob: ea148626728813d99c3c579a4acc59e3322a2090 (
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=neovim-coc-sources-git
pkgname=('neovim-coc-syntax-git'
'neovim-coc-tag-git'
'neovim-coc-dictionary-git'
'neovim-coc-word-git'
'neovim-coc-emoji-git')
arch=('any')
url='https://github.com/neoclide/coc-sources'
makedepends=('git')
license=('MIT')
groups=('neovim-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_neovim-coc-syntax-git() {
pkgdesc='Syntax words completion source for coc.nvim'
depends=('neovim-coc')
_packdir="usr/share/nvim/runtime/pack/coc/start/syntax"
provides=("neovim-coc-syntax")
conflicts=("neovim-coc-syntax")
cd "${srcdir}/coc-sources/packages/syntax"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_neovim-coc-tag-git() {
pkgdesc='tag source for coc.nvim'
depends=('neovim-coc')
_packdir="usr/share/nvim/runtime/pack/coc/start/tag"
provides=("neovim-coc-tag")
conflicts=("neovim-coc-tag")
cd "${srcdir}/coc-sources/packages/tag"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_neovim-coc-dictionary-git() {
pkgdesc='dictionary source for coc.nvim'
depends=('neovim-coc')
_packdir="usr/share/nvim/runtime/pack/coc/start/dictionary"
provides=("neovim-coc-dictionary")
conflicts=("neovim-coc-dictionary")
cd "${srcdir}/coc-sources/packages/dictionary"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_neovim-coc-word-git() {
pkgdesc='word source for coc.nvim'
depends=('neovim-coc')
_packdir="usr/share/nvim/runtime/pack/coc/start/word"
provides=("neovim-coc-word")
conflicts=("neovim-coc-word")
cd "${srcdir}/coc-sources/packages/word"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
package_neovim-coc-emoji-git() {
pkgdesc='emoji source for coc.nvim'
depends=('neovim-coc')
_packdir="usr/share/nvim/runtime/pack/coc/start/emoji"
provides=("neovim-coc-emoji")
conflicts=("neovim-coc-emoji")
cd "${srcdir}/coc-sources/packages/emoji"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
}
|