summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMGislv2023-10-27 21:57:09 +0200
committerMGislv2023-10-27 21:57:09 +0200
commit0638189273eff011426ae825fe61587239673ffa (patch)
treebe3d62cd22e89ef26e512b6bce4eacf3dc619f63
parentb539eeaf5e86c95d28d988d1bdbb9bb7ca969b9b (diff)
downloadaur-0638189273eff011426ae825fe61587239673ffa.tar.gz
Update to 9.0.2070
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
-rw-r--r--vimdoc.hook11
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f7e0ae2b72e..10daa6a255cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vim-clipboard
pkgdesc = Vi Improved, a highly configurable, improved version of the vi text editor
- pkgver = 9.0.1976
+ pkgver = 9.0.2070
pkgrel = 1
url = https://www.vim.org
arch = x86_64
@@ -39,8 +39,10 @@ pkgbase = vim-clipboard
replaces = vim
replaces = vim-minimal
replaces = gvim
- source = git+https://github.com/vim/vim.git?signed#tag=v9.0.1976
+ source = git+https://github.com/vim/vim.git?signed#tag=v9.0.2070
+ source = vimdoc.hook
validpgpkeys = 4F19708816918E19AAE19DEEF3F92DA383FDDE09
sha512sums = SKIP
+ sha512sums = a02ad0d66f300160911aeb81d8886c6c558436ac4ee3fcd161dd65c6b1e5d1f41b9005a7f5bb5ba68d57027fc1c8e43daabf055bd6207fb5a216a67f758df8d1
pkgname = vim-clipboard
diff --git a/PKGBUILD b/PKGBUILD
index 8bff747ae476..94ba3b0e2088 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Directly based off of the official package
pkgname=vim-clipboard
-pkgver=9.0.1976
+pkgver=9.0.2070
pkgrel=1
pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor'
url='https://www.vim.org'
@@ -23,8 +23,10 @@ optdepends=('python: Python language support'
conflicts=('vim' 'gvim' 'vim-minimal')
provides=('xxd' 'vim' 'vim-minimal' 'vim-plugin-runtime')
replaces=('vim' 'vim-minimal' 'gvim')
-source=(git+https://github.com/vim/vim.git?signed#tag=v${pkgver})
-sha512sums=('SKIP')
+source=(git+https://github.com/vim/vim.git?signed#tag=v${pkgver}
+ vimdoc.hook)
+sha512sums=('SKIP'
+ 'a02ad0d66f300160911aeb81d8886c6c558436ac4ee3fcd161dd65c6b1e5d1f41b9005a7f5bb5ba68d57027fc1c8e43daabf055bd6207fb5a216a67f758df8d1')
validpgpkeys=('4F19708816918E19AAE19DEEF3F92DA383FDDE09') # Christian Brabandt <cb@256bit.org>
prepare() {
@@ -82,6 +84,9 @@ package() {
# license
install -Dm 644 runtime/doc/uganda.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
+
+ # pacman hook for documentation helptags
+ install -Dm 644 "${srcdir}"/vimdoc.hook "${pkgdir}"/usr/share/libalpm/hooks/vimdoc.hook
}
# vim: ts=2 sw=2 et:
diff --git a/vimdoc.hook b/vimdoc.hook
new file mode 100644
index 000000000000..07af3cc50234
--- /dev/null
+++ b/vimdoc.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation= Remove
+Type = Path
+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