diff options
author | Sainnhepark | 2020-07-28 18:31:43 +0800 |
---|---|---|
committer | Sainnhepark | 2020-07-28 18:31:43 +0800 |
commit | 988b5206761a7d0d8be5a754020ae17e41246e2a (patch) | |
tree | 535608f0f552dfb02133be47ab1c505a36679a0b | |
parent | da5064c1f2d3e982c55eea618aa882c9e792bc00 (diff) | |
download | aur-988b5206761a7d0d8be5a754020ae17e41246e2a.tar.gz |
add more packages
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 45 insertions, 7 deletions
@@ -10,19 +10,31 @@ pkgbase = neovim-coc-sources-git sha256sums = SKIP pkgname = neovim-coc-syntax-git - pkgdesc = Syntax words completion source for coc.nvim + pkgdesc = Words from syntax list depends = neovim-coc provides = neovim-coc- conflicts = neovim-coc- pkgname = neovim-coc-tag-git - pkgdesc = tag source for coc.nvim + pkgdesc = Words from tagfiles() depends = neovim-coc provides = neovim-coc- conflicts = neovim-coc- pkgname = neovim-coc-dictionary-git - pkgdesc = dictionary source for coc.nvim + pkgdesc = Words from files in &dictionary + depends = neovim-coc + provides = neovim-coc- + conflicts = neovim-coc- + +pkgname = neovim-coc-word-git + pkgdesc = Words from google 10000 english repo + depends = neovim-coc + provides = neovim-coc- + conflicts = neovim-coc- + +pkgname = neovim-coc-emoji-git + pkgdesc = Emoji words for markdown depends = neovim-coc provides = neovim-coc- conflicts = neovim-coc- @@ -2,7 +2,9 @@ pkgbase=neovim-coc-sources-git pkgname=('neovim-coc-syntax-git' 'neovim-coc-tag-git' - 'neovim-coc-dictionary-git') + 'neovim-coc-dictionary-git' + 'neovim-coc-word-git' + 'neovim-coc-emoji-git') arch=('any') url='https://github.com/neoclide/coc-sources' makedepends=('git') @@ -20,7 +22,7 @@ pkgver() { package_neovim-coc-syntax-git() { _extname=syntax - pkgdesc='Syntax words completion source for coc.nvim' + pkgdesc='Words from syntax list' depends=('neovim-coc') _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}" provides=("neovim-coc-${_extname}") @@ -32,7 +34,7 @@ package_neovim-coc-syntax-git() { package_neovim-coc-tag-git() { _extname=tag - pkgdesc='tag source for coc.nvim' + pkgdesc='Words from tagfiles()' depends=('neovim-coc') _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}" provides=("neovim-coc-${_extname}") @@ -44,7 +46,31 @@ package_neovim-coc-tag-git() { package_neovim-coc-dictionary-git() { _extname=dictionary - pkgdesc='dictionary source for coc.nvim' + pkgdesc='Words from files in &dictionary' + depends=('neovim-coc') + _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}" + provides=("neovim-coc-${_extname}") + conflicts=("neovim-coc-${_extname}") + cd "${srcdir}/coc-sources/packages/${_extname}" + find . -type f -exec \ + install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \; +} + +package_neovim-coc-word-git() { + _extname=word + pkgdesc='Words from google 10000 english repo' + depends=('neovim-coc') + _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}" + provides=("neovim-coc-${_extname}") + conflicts=("neovim-coc-${_extname}") + cd "${srcdir}/coc-sources/packages/${_extname}" + find . -type f -exec \ + install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \; +} + +package_neovim-coc-emoji-git() { + _extname=emoji + pkgdesc='Emoji words for markdown' depends=('neovim-coc') _packdir="usr/local/share/nvim/site/pack/coc/start/${_extname}" provides=("neovim-coc-${_extname}") |