summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRhinoceros2019-08-15 11:49:37 +1000
committerRhinoceros2019-08-15 11:49:37 +1000
commit0ddcedcba40adcb81d82366df352373b41e1890d (patch)
tree84fafe2b65c82ccf68a4e991b3ccdab0dfbf39ba /PKGBUILD
parent464df67f38a5db215981114f560b6b08a5e70b1f (diff)
downloadaur-0ddcedcba40adcb81d82366df352373b41e1890d.tar.gz
Update to r197.083cbee-2
* Remove file that conflicts with vim-vital * Add vim-vital as dependency instead
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
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"