diff options
author | Keith Maxwell <keith.maxwell@gmail.com> | 2019-05-22 08:49:16 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-22 20:49:13 +0000 |
commit | 286a57159f372affced016fc9bd870ec39ce7f77 (patch) | |
tree | 534aa11ad63dfc3c452d54138f36248e91acf682 /community/fzf | |
parent | 0325b008b557fc7d5098c45eb0ef59f752b964a7 (diff) | |
download | aports-286a57159f372affced016fc9bd870ec39ce7f77.tar.bz2 aports-286a57159f372affced016fc9bd870ec39ce7f77.tar.xz |
community/fzf: add vim help files and create tags
install -D creates the directories so removed mkdir:
$ install --help 2>&1 | grep -- -D
-D Create leading target directories
Diffstat (limited to 'community/fzf')
-rw-r--r-- | community/fzf/APKBUILD | 11 | ||||
-rw-r--r-- | community/fzf/fzf-vim.post-install | 2 |
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 |