summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuis Martinez2021-10-17 03:08:01 -0500
committerLuis Martinez2021-10-17 03:08:01 -0500
commit84f78d9e5552e90c76374478fe9a1a1170b432fd (patch)
treea1be45f5a783c9e6ec7cddca53cf6d3d183ece19 /PKGBUILD
downloadaur-84f78d9e5552e90c76374478fe9a1a1170b432fd.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f2e3d3d0dfb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
+
+pkgbase=vim-denops
+pkgname=('vim-denops' 'neovim-denops')
+pkgver=2.0.3
+pkgrel=1
+arch=('any')
+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=('4a75756d84a1d65ab150034a20b0901562a8dfee7b46d34c63b55adf0be7a105')
+
+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')
+
+ 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/"
+}