[arch-commits] Commit in vim-omnicppcomplete/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:08:01 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:08:01
Author: felixonmars
Revision: 659131
archrelease: copy trunk to community-staging-any
Added:
vim-omnicppcomplete/repos/community-staging-any/
vim-omnicppcomplete/repos/community-staging-any/PKGBUILD
(from rev 659129, vim-omnicppcomplete/trunk/PKGBUILD)
vim-omnicppcomplete/repos/community-staging-any/vimdoc.install
(from rev 659129, 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 659129, vim-omnicppcomplete/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:08:01 UTC (rev 659131)
@@ -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=10
+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::https://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 659129, vim-omnicppcomplete/trunk/vimdoc.install)
===================================================================
--- community-staging-any/vimdoc.install (rev 0)
+++ community-staging-any/vimdoc.install 2020-07-07 16:08:01 UTC (rev 659131)
@@ -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