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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:39:15 UTC 2018


    Date: Friday, November 9, 2018 @ 21:39:14
  Author: felixonmars
Revision: 404727

archrelease: copy trunk to community-staging-any

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

----------------+
 PKGBUILD       |   27 +++++++++++++++++++++++++++
 vimdoc.install |   14 ++++++++++++++
 2 files changed, 41 insertions(+)

Copied: vim-omnicppcomplete/repos/community-staging-any/PKGBUILD (from rev 404726, vim-omnicppcomplete/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 21:39:14 UTC (rev 404727)
@@ -0,0 +1,27 @@
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=vim-omnicppcomplete
+#I know the next version will be 0.5 just to break our crap
+pkgver=0.4.1
+_scriptid=7722
+pkgrel=9
+pkgdesc="vim c++ completion omnifunc with a ctags database"
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=1520"
+license=('unknown')
+depends=('vim' 'ctags')
+groups=('vim-plugins')
+source=(omnicppcomplete.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
+md5sums=('0978a565f95d8980a0035133144db639')
+
+package() {
+	cd "${srcdir}"
+	installpath="${pkgdir}/usr/share/vim/vimfiles"
+
+	mkdir -p ${installpath}
+	cp -r doc after autoload ${installpath}
+
+	#just in case... make sure it's all 644
+	find ${installpath} -type f -exec chmod 644 {} \;
+}

Copied: vim-omnicppcomplete/repos/community-staging-any/vimdoc.install (from rev 404726, vim-omnicppcomplete/trunk/vimdoc.install)
===================================================================
--- community-staging-any/vimdoc.install	                        (rev 0)
+++ community-staging-any/vimdoc.install	2018-11-09 21:39:14 UTC (rev 404727)
@@ -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