summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-28 18:37:28 +0800
committerSainnhepark2020-07-28 18:37:28 +0800
commit22e28f37f2980dd44069d08dbb2dc2a3cefa47b0 (patch)
tree4864e3aeca39cf534f71f625d6372b313a58ad53
parent988b5206761a7d0d8be5a754020ae17e41246e2a (diff)
downloadaur-22e28f37f2980dd44069d08dbb2dc2a3cefa47b0.tar.gz
fix provides
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD45
2 files changed, 30 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ff3fc6aeaa..5b79a23cfd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,30 +12,30 @@ pkgbase = neovim-coc-sources-git
pkgname = neovim-coc-syntax-git
pkgdesc = Words from syntax list
depends = neovim-coc
- provides = neovim-coc-
- conflicts = neovim-coc-
+ provides = neovim-coc-syntax
+ conflicts = neovim-coc-syntax
pkgname = neovim-coc-tag-git
pkgdesc = Words from tagfiles()
depends = neovim-coc
- provides = neovim-coc-
- conflicts = neovim-coc-
+ provides = neovim-coc-tag
+ conflicts = neovim-coc-tag
pkgname = neovim-coc-dictionary-git
pkgdesc = Words from files in &dictionary
depends = neovim-coc
- provides = neovim-coc-
- conflicts = neovim-coc-
+ provides = neovim-coc-dictionary
+ conflicts = neovim-coc-dictionary
pkgname = neovim-coc-word-git
pkgdesc = Words from google 10000 english repo
depends = neovim-coc
- provides = neovim-coc-
- conflicts = neovim-coc-
+ provides = neovim-coc-word
+ conflicts = neovim-coc-word
pkgname = neovim-coc-emoji-git
pkgdesc = Emoji words for markdown
depends = neovim-coc
- provides = neovim-coc-
- conflicts = neovim-coc-
+ provides = neovim-coc-emoji
+ conflicts = neovim-coc-emoji
diff --git a/PKGBUILD b/PKGBUILD
index f0123fc671c..36c14696e10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,61 +21,56 @@ pkgver() {
}
package_neovim-coc-syntax-git() {
- _extname=syntax
pkgdesc='Words from syntax list'
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}"
+ _packdir="usr/local/share/nvim/site/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() {
- _extname=tag
pkgdesc='Words from tagfiles()'
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}"
+ _packdir="usr/local/share/nvim/site/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() {
- _extname=dictionary
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}"
+ _packdir="usr/local/share/nvim/site/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() {
- _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}"
+ _packdir="usr/local/share/nvim/site/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() {
- _extname=emoji
pkgdesc='Emoji words for markdown'
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}"
+ _packdir="usr/local/share/nvim/site/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}/{}" \;
}