aboutsummaryrefslogtreecommitdiffstats
path: root/community/fzf
diff options
context:
space:
mode:
Diffstat (limited to 'community/fzf')
-rw-r--r--community/fzf/APKBUILD11
-rw-r--r--community/fzf/fzf-vim.post-install2
2 files changed, 8 insertions, 5 deletions
diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD
index f787b91b7c..4e073e0ddb 100644
--- a/community/fzf/APKBUILD
+++ b/community/fzf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=fzf
pkgver=0.18.0
-pkgrel=2
+pkgrel=3
pkgdesc="A command-line fuzzy finder"
url="https://github.com/junegunn/fzf"
arch="all !s390x !aarch64 !armhf !armv7"
@@ -98,18 +98,19 @@ glide_init() {
vim() {
pkgdesc="fzf vim plugin"
+ install="$pkgname-vim.post-install"
install_if="$pkgname=$pkgver-r$pkgrel vim"
cd "$builddir"
- mkdir -p "$subpkgdir"/usr/share/vim/vimfiles/plugin/
- install -Dm0644 plugin/fzf.vim "$subpkgdir"/usr/share/vim/vimfiles/plugin/
+ install -Dm0644 plugin/fzf.vim "$subpkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
+ install -Dm0644 doc/fzf.txt "$subpkgdir"/usr/share/vim/vimfiles/doc/fzf.txt
}
nvim() {
pkgdesc="fzf vim plugin for neovim"
install_if="$pkgname=$pkgver-r$pkgrel neovim"
cd "$builddir"
- mkdir -p "$subpkgdir"/usr/share/nvim/runtime/plugin/
- install -Dm0644 plugin/fzf.vim "$subpkgdir"/usr/share/nvim/runtime/plugin/
+ install -Dm0644 plugin/fzf.vim "$subpkgdir"/usr/share/nvim/runtime/plugin/fzf.vim
+ install -Dm0644 doc/fzf.txt "$subpkgdir"/usr/share/nvim/runtime/doc/fzf.txt
}
sha512sums="70dcda693ed6706f232874550f89cfcdbce1d28360244a728dd0640a4cfbbbd0899601f42c9096197c159cde86e89d287a06905cb5d665bd09b9d01cca2cb754 fzf-0.18.0.tar.gz
diff --git a/community/fzf/fzf-vim.post-install b/community/fzf/fzf-vim.post-install
new file mode 100644
index 0000000000..0bc5bd9954
--- /dev/null
+++ b/community/fzf/fzf-vim.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+vim -u NONE -esX "+helptags ALL" +q