summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
-rw-r--r--visual-multi-vim-doc.hook11
3 files changed, 3 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be02fc0f7ec..9bd74546b19 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,11 +13,9 @@ pkgbase = vim-visual-multi-git
source = vim-visual-multi::git+https://github.com/mg979/vim-visual-multi.git#branch=master
source = vim-visual-multi-git.install
source = vimtutor-visual-multi
- source = visual-multi-vim-doc.hook
sha256sums = SKIP
sha256sums = 10e9f3d21e7f5fce07f2e8ffab0ccd08cdb52f5097c84afaa355c06668faf046
sha256sums = 04d22ed7476c8c4ba565a805c8a3bac6e7252f6cc15106545e5c71dbb996229b
- sha256sums = cfdbc5aaa42b088365a4b99478a3efb56ab828a50e70e122f307ea2b8c3690bf
pkgname = vim-visual-multi-git
diff --git a/PKGBUILD b/PKGBUILD
index c275facd95d..f4a5a216b9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,29 +14,22 @@ conflicts=("${_pkgname}")
install="${pkgname}.install"
source=("${_pkgname}::git+${url}.git#branch=master"
"${pkgname}.install"
- 'vimtutor-visual-multi'
- 'visual-multi-vim-doc.hook')
+ 'vimtutor-visual-multi')
sha256sums=('SKIP'
'10e9f3d21e7f5fce07f2e8ffab0ccd08cdb52f5097c84afaa355c06668faf046'
- '04d22ed7476c8c4ba565a805c8a3bac6e7252f6cc15106545e5c71dbb996229b'
- 'cfdbc5aaa42b088365a4b99478a3efb56ab828a50e70e122f307ea2b8c3690bf')
+ '04d22ed7476c8c4ba565a805c8a3bac6e7252f6cc15106545e5c71dbb996229b')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-build() {
- cd "${srcdir}/${_pkgname}"
- touch doc/tags
-}
-
package() {
cd "${srcdir}/${_pkgname}"
+ vim -es --cmd ":helptags doc" --cmd ":q"
find autoload doc plugin python tutorialrc -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/vim/vimfiles/pack/${_pkgname}/start/${_pkgname}/{}" \;
install -Dm 644 "${srcdir}/${_pkgname}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm 644 "${srcdir}"/visual-multi-vim-doc.hook "${pkgdir}"/usr/share/libalpm/hooks/visual-multi-vim-doc.hook
install -Dm 755 "${srcdir}"/vimtutor-visual-multi "${pkgdir}"/usr/bin/vimtutor-visual-multi
}
diff --git a/visual-multi-vim-doc.hook b/visual-multi-vim-doc.hook
deleted file mode 100644
index a45e37ad08e..00000000000
--- a/visual-multi-vim-doc.hook
+++ /dev/null
@@ -1,11 +0,0 @@
-[Trigger]
-Operation = Install
-Operation = Upgrade
-Operation= Remove
-Type = Path
-Target = usr/share/vim/vimfiles/pack/vim-visual-multi/start/vim-visual-multi/doc/
-
-[Action]
-Description = Updating Vim help tags...
-Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/pack/vim-visual-multi/start/vim-visual-multi/doc" --cmd ":q"
-When = PostTransaction