summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore19
-rw-r--r--PKGBUILD29
-rw-r--r--nvim-doc.install14
4 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..47042821080
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = neovim-workspace
+ pkgdesc = Neovim workspace manager plugin for managing groups of files
+ pkgver = 1.0b1
+ pkgrel = 1
+ url = http://www.vim.org/scripts/script.php?script_id=1410
+ install = nvim-doc.install
+ arch = any
+ groups = neovim-plugins
+ license = unknown
+ makedepends = unzip
+ depends = neovim
+ source = neovim-workspace-pkgver.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=4812
+ sha256sums = 757b12ae378fae74f7d43dfdffc95111f0bc280a62e1ddf429cb3f302044db1f
+
+pkgname = neovim-workspace
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7123c0a2302
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,19 @@
+# package src/pkg archives, downloaded sources
+*.tar*
+*.tgz
+*.zip
+
+# signed sources
+*.asc
+*.sig
+
+# subfolders, e.g. source or built package trees, vcs
+*/**/
+!neovim-plugins/*
+# backup files
+*~
+*.bak
+pkg
+src
+*xpi
+*tar*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25a44ab478a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Joost Bremmer <toost.b@gmail.com>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=neovim-workspace
+pkgver=1.0b1
+_scriptid=4812
+pkgrel=1
+pkgdesc="Neovim workspace manager plugin for managing groups of files "
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=1410"
+license=('unknown')
+depends=('neovim')
+makedepends=('unzip')
+groups=('neovim-plugins')
+install=nvim-doc.install
+source=("$pkgname-pkgver.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
+sha256sums=('757b12ae378fae74f7d43dfdffc95111f0bc280a62e1ddf429cb3f302044db1f')
+
+package() {
+ cd ${srcdir}
+
+ installpath="${pkgdir}/usr/share/nvim/runtime"
+
+ install -D -m644 doc/workspace.txt \
+ $installpath/doc/workspace.txt
+ install -D -m644 plugin/workspace.vim \
+ $installpath/plugin/workspace.vim
+}
diff --git a/nvim-doc.install b/nvim-doc.install
new file mode 100644
index 00000000000..79795d84c37
--- /dev/null
+++ b/nvim-doc.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo -n "Updating neovim help tags..."
+ /usr/bin/nvim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}