summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhepark2020-08-03 18:39:48 +0800
committerSainnhepark2020-08-03 18:39:48 +0800
commite5896c54954ec3c66f00343e6cd6cfd51129d0a1 (patch)
treefda927d314593996255dc601c1878c7e3309d1dd /PKGBUILD
parent5cc0a82c0d97ada563ca9a7ef8d83d971067e7c8 (diff)
downloadaur-e5896c54954ec3c66f00343e6cd6cfd51129d0a1.tar.gz
remove hook
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 3 insertions, 10 deletions
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
}