summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4cc15f38db9..bb4eb812e48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = vim-grammarous
pkgdesc = A powerful grammar checker for Vim using LanguageTool
pkgver = r197.083cbee
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rhysd/vim-grammarous
arch = any
groups = vim-plugins
license = MIT
depends = vim
+ depends = vim-vital
depends = java-runtime=8
depends = languagetool
source = https://github.com/rhysd/vim-grammarous/archive/master.zip
diff --git a/PKGBUILD b/PKGBUILD
index 68448d562ee..4430a236ca6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=vim-grammarous
pkgver=r197.083cbee
-pkgrel=1
+pkgrel=2
pkgdesc='A powerful grammar checker for Vim using LanguageTool'
arch=('any')
url='https://github.com/rhysd/vim-grammarous'
license=('MIT')
groups=('vim-plugins')
-depends=('vim' 'java-runtime=8' 'languagetool')
+depends=('vim' 'vim-vital' 'java-runtime=8' 'languagetool')
source=(https://github.com/rhysd/vim-grammarous/archive/master.zip)
sha256sums=('02dd5faac6c651f57fd0e2229c69a6dd6dfd10cf0a73571908faf1088b905ad8')
@@ -21,6 +21,9 @@ package () {
cp -r "$_dir" "$pkgdir/usr/share/vim/vimfiles/$_dir"
done
+ # Remove file that would conflict with vim-vital, which is a dependency of this package instead
+ rm "$pkgdir/usr/share/vim/vimfiles/autoload/vital.vim"
+
# Use system-wide installation of LanguageTool
echo "let g:grammarous#languagetool_cmd = 'languagetool'" > "$pkgdir/usr/share/vim/vimfiles/plugin/grammarous.system_languagetool.vim"