summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuis Martinez2021-12-29 14:59:43 -0600
committerLuis Martinez2021-12-29 14:59:43 -0600
commita540c7b3c092f5001a11eaf796bf3648ebb63ccb (patch)
tree15c4386c6879a6f247762a97ff9b3928b3581b13 /PKGBUILD
parentde53a4f9fcb28e691f8d8dd85264f6b429673d92 (diff)
downloadaur-a540c7b3c092f5001a11eaf796bf3648ebb63ccb.tar.gz
update to 2.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 13 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 658d561bae6..a4f030c8232 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,22 @@
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
-pkgbase=vim-denops
-pkgname=('vim-denops' 'neovim-denops')
-pkgver=2.1.2
+pkgname=vim-denops
+pkgver=2.2.0
pkgrel=1
+pkgdesc='Vim ecosystem for writing plugins in Deno'
arch=('any')
+groups=('vim-plugins')
url="https://github.com/vim-denops/denops.vim"
license=('MIT')
-depends=('deno>=1.14.0')
-source=("$pkgbase-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('86c0e9911e857963dd2a7953eda0c8fabbd219f0639bc28fa5d4776a5b955032')
-
-package_vim-denops() {
- pkgdesc="Vim ecosystem for writing plugins in Deno"
- groups=('vim-plugins')
- depends+=('vim>=8.2.3081')
-
- cd "denops.vim-$pkgver"
- find autoload denops doc plugin -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
- install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
-}
-
-package_neovim-denops() {
- pkgdesc="Neovim ecosystem for writing plugins in Deno"
- groups=('neovim-plugins')
- depends+=('neovim>=0.5.0')
- conflicts=('vim-denops')
+depends=('deno' 'vim-plugin-runtime')
+replaces=('neovim-denops')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('8a9e9e5a11c3418f1a93f0bbdf23c2f1642e7d32eaae77c0dd7dbb58861a3040')
+package() {
cd "denops.vim-$pkgver"
- find autoload denops doc plugin -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
- install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+ find autoload denops doc plugin \
+ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}