summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-26 20:52:32 +0800
committerSainnhepark2020-07-26 20:52:32 +0800
commite8b0cf5a8c7deac654a431bbc15e998f597bb3f0 (patch)
tree98d82e994d31f1717b97f0d9c7f7641a4969a822
downloadaur-e8b0cf5a8c7deac654a431bbc15e998f597bb3f0.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c54027eb998
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = neovim-polyglot-git
+ pkgdesc = A solid language pack for Vim.
+ pkgver = r540.56121b4
+ pkgrel = 1
+ url = https://github.com/sheerun/vim-polyglot
+ arch = any
+ license =
+ makedepends = git
+ depends = neovim
+ provides = neovim-polyglot
+ conflicts = neovim-polyglot
+ source = git+https://github.com/sheerun/vim-polyglot.git
+ sha256sums = SKIP
+
+pkgname = neovim-polyglot-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab4e630fca3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname=neovim-polyglot-git
+pkgver=r540.56121b4
+pkgrel=1
+pkgdesc='A solid language pack for Vim.'
+arch=('any')
+url='https://github.com/sheerun/vim-polyglot'
+license=('')
+depends=('neovim')
+makedepends=('git')
+provides=('neovim-polyglot')
+conflicts=('neovim-polyglot')
+source=('git+https://github.com/sheerun/vim-polyglot.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/vim-polyglot"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${srcdir}/vim-polyglot"
+ find after autoload compiler ctags extras ftdetect ftplugin indent syntax -type f -exec \
+ install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/pack/vim-polyglot/start/vim-polyglot/{}" \;
+}
+