diff options
author | Joost Bremmer | 2016-10-13 17:51:09 +0200 |
---|---|---|
committer | Joost Bremmer | 2016-10-13 17:51:09 +0200 |
commit | c507d262ba70d5562c7653722d069f17320e5388 (patch) | |
tree | 9f131d7c509eb91b7ad1c5f1eb184d18cf27f4f8 | |
download | aur-neovim-workspace.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 19 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | nvim-doc.install | 14 |
4 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..47042821080c --- /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 000000000000..7123c0a23024 --- /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 000000000000..25a44ab478aa --- /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 000000000000..79795d84c37b --- /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 +} |