[arch-commits] Commit in vim/trunk (PKGBUILD vimdoc.hook)
Anatol Pomozov
anatolik at archlinux.org
Sun Oct 30 22:41:55 UTC 2016
Date: Sunday, October 30, 2016 @ 22:41:55
Author: anatolik
Revision: 279505
upgpkg: vim 8.0.0055-1
FS#51591 Add vimdoc hook
Added:
vim/trunk/vimdoc.hook
Modified:
vim/trunk/PKGBUILD
-------------+
PKGBUILD | 16 +++++++++++-----
vimdoc.hook | 11 +++++++++++
2 files changed, 22 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-30 21:05:59 UTC (rev 279504)
+++ PKGBUILD 2016-10-30 22:41:55 UTC (rev 279505)
@@ -5,12 +5,13 @@
# Contributor: tobias [ tobias at archlinux org ]
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Eli Schwartz
pkgbase=vim
pkgname=(vim gvim vim-runtime)
-pkgver=8.0.0046
+pkgver=8.0.0055
_versiondir=80
-pkgrel=4
+pkgrel=1
arch=(i686 x86_64)
license=('custom:vim')
url='http://www.vim.org'
@@ -19,12 +20,14 @@
0001-Fix-widget-sizing-on-current-Gtk-3.22-branch.patch
0002-Further-fix-widget-sizing.patch
vimrc
- archlinux.vim)
-sha1sums=('28b81536dfa01abd86f084dd6c02f5a2c47b7dec'
+ archlinux.vim
+ vimdoc.hook)
+sha1sums=('20f144e8dc42bb2f5201b18b2f3a9990efc294f6'
'ca4a3bdf8b512336bff4af3ae93d95a8580e0eaf'
'04b86163bb379a7d42058d932aed3075ed49d2a9'
'539bfaa0517dfff6d61c37f9c2d81a0db756a4c9'
- '94f7bb87b5d06bace86bc4b3ef1372813b4eedf2')
+ '94f7bb87b5d06bace86bc4b3ef1372813b4eedf2'
+ 'adc4c82b6c4097944e5a767270a772721455eb8c')
prepare() {
cd vim-$pkgver/src
@@ -133,6 +136,9 @@
install -dm755 "${pkgdir}"/usr/share/licenses/vim-runtime
ln -s /usr/share/vim/vim${_versiondir}/doc/uganda.txt \
"${pkgdir}"/usr/share/licenses/vim-runtime/license.txt
+
+ # pacman hook for documentation helptags
+ install -Dm644 "${srcdir}"/vimdoc.hook "${pkgdir}"/usr/share/libalpm/hooks/vimdoc.hook
}
package_vim() {
Added: vimdoc.hook
===================================================================
--- vimdoc.hook (rev 0)
+++ vimdoc.hook 2016-10-30 22:41:55 UTC (rev 279505)
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation= Remove
+Type = File
+Target = usr/share/vim/vimfiles/doc/
+
+[Action]
+Description = Updating Vim help tags...
+Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q"
+When = PostTransaction
More information about the arch-commits
mailing list