[arch-commits] Commit in vim-nerdcommenter/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Fri Mar 4 15:59:26 UTC 2016
Date: Friday, March 4, 2016 @ 16:59:25
Author: anthraxx
Revision: 164816
archrelease: copy trunk to community-any
Added:
vim-nerdcommenter/repos/community-any/
vim-nerdcommenter/repos/community-any/LICENSE
(from rev 164815, vim-nerdcommenter/trunk/LICENSE)
vim-nerdcommenter/repos/community-any/PKGBUILD
(from rev 164815, vim-nerdcommenter/trunk/PKGBUILD)
vim-nerdcommenter/repos/community-any/vimdoc.install
(from rev 164815, vim-nerdcommenter/trunk/vimdoc.install)
----------------+
LICENSE | 14 ++++++++++++++
PKGBUILD | 30 ++++++++++++++++++++++++++++++
vimdoc.install | 16 ++++++++++++++++
3 files changed, 60 insertions(+)
Copied: vim-nerdcommenter/repos/community-any/LICENSE (from rev 164815, vim-nerdcommenter/trunk/LICENSE)
===================================================================
--- community-any/LICENSE (rev 0)
+++ community-any/LICENSE 2016-03-04 15:59:25 UTC (rev 164816)
@@ -0,0 +1,14 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam at hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
Copied: vim-nerdcommenter/repos/community-any/PKGBUILD (from rev 164815, vim-nerdcommenter/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-03-04 15:59:25 UTC (rev 164816)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: TDY <tdy at archlinux.info>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Laszlo Papp <djszapi @ gmail at com>
+
+pkgname=vim-nerdcommenter
+pkgver=2.3.0
+pkgrel=4
+pkgdesc='A plugin that allows for easy commenting of code for many filetypes'
+url='https://github.com/scrooloose/nerdcommenter'
+arch=('any')
+license=('custom:vim')
+depends=('vim')
+groups=('vim-plugins')
+install=vimdoc.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/scrooloose/nerdcommenter/archive/${pkgver}.tar.gz
+ LICENSE)
+sha512sums=('a2e4720aacf05ac7571adbd1222bfc119134c1f2a0c3c534d1372a020bf4f540741732e4992b53170f1c1d48ac2a11c57316ece5bd2a70d699f0d54caa51f29b'
+ '1b4064171fa88f41d05e3d1d1c14ceb8a5cb4cca9e6f08f7e267d7740b7d65e4765cb56f0ccf3765ee9c85654559d2d7726d71516b890b0174b68e6cc62ef421')
+
+package() {
+ cd ${pkgname#vim-}-${pkgver}
+ _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm 644 doc/NERD_commenter.txt "${_installpath}/doc/NERD_commenter.txt"
+ install -Dm 644 plugin/NERD_commenter.vim "${_installpath}/plugin/NERD_commenter.vim"
+ install -Dm 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
Copied: vim-nerdcommenter/repos/community-any/vimdoc.install (from rev 164815, vim-nerdcommenter/trunk/vimdoc.install)
===================================================================
--- community-any/vimdoc.install (rev 0)
+++ community-any/vimdoc.install 2016-03-04 15:59:25 UTC (rev 164816)
@@ -0,0 +1,16 @@
+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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list