[arch-commits] Commit in vim-workspace/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:22:30 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:22:29
  Author: felixonmars
Revision: 658124

archrelease: copy trunk to community-staging-any

Added:
  vim-workspace/repos/community-staging-any/
  vim-workspace/repos/community-staging-any/PKGBUILD
    (from rev 658123, vim-workspace/trunk/PKGBUILD)
  vim-workspace/repos/community-staging-any/vimdoc.install
    (from rev 658123, vim-workspace/trunk/vimdoc.install)

----------------+
 PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 vimdoc.install |   14 ++++++++++++++
 2 files changed, 48 insertions(+)

Copied: vim-workspace/repos/community-staging-any/PKGBUILD (from rev 658123, vim-workspace/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:22:29 UTC (rev 658124)
@@ -0,0 +1,34 @@
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=vim-workspace
+pkgver=1.0b1
+_scriptid=4812
+pkgrel=10
+pkgdesc="vim workspace manager plugin for managing groups of files "
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=1410"
+license=('unknown')
+depends=('vim')
+makedepends=('unzip')
+groups=('vim-plugins')
+source=(https://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
+md5sums=('bd6828d19ce7c62aac0afe28b881a8ba')
+
+build() {
+	cd ${srcdir}
+
+	mv download_script.php?src_id=$_scriptid workspace_1b1.zip
+	unzip -qqo workspace_1b1.zip
+}
+
+package() {
+	cd ${srcdir}
+
+	installpath="${pkgdir}/usr/share/vim/vimfiles"
+
+	install -D -m644 doc/workspace.txt \
+	   $installpath/doc/workspace.txt
+	install -D -m644 plugin/workspace.vim \
+	   $installpath/plugin/workspace.vim
+}

Copied: vim-workspace/repos/community-staging-any/vimdoc.install (from rev 658123, vim-workspace/trunk/vimdoc.install)
===================================================================
--- community-staging-any/vimdoc.install	                        (rev 0)
+++ community-staging-any/vimdoc.install	2020-07-07 12:22:29 UTC (rev 658124)
@@ -0,0 +1,14 @@
+post_install() {
+    echo -n "Updating vim help tags..."
+    /usr/bin/vim --noplugins -u NONE -U NONE \
+        --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+    echo "done."
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install
+}


More information about the arch-commits mailing list