blob: 661713e92149f24a60cbebc538ef7c97902c2cdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Junxuan Liao <mikeljx at 126 dot com>
# Contributor: lmartinez-mirror
# Contributor: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=vim-fzf-git
pkgver=r476.1dcdb21
pkgrel=2
pkgdesc='Vim plugin that integrates fzf, the fuzzy file finder'
arch=('any')
license=('MIT')
groups=('vim-plugins')
url='https://github.com/junegunn/fzf.vim'
depends=('vim-plugin-runtime' 'fzf')
optdepends=('bat: syntax-highlighted preview support'
'git-delta: formatting git diff output with certain commands'
'perl: Tags and Helptags support'
'ripgrep: Rg command support'
'the_silver_searcher: Ag command support')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd fzf.vim
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd fzf.vim
install -Dm 644 plugin/fzf.vim "$pkgdir/usr/share/vim/vimfiles/plugin/fzf/fzf.vim"
find bin -type f -exec install -Dm 755 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
find autoload doc -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
install -Dm 444 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|