# Maintainer: Luis Martinez ## GPG keys: ## https://github.com/conni2461.gpg ## https://github.com/web-flow.gpg pkgname=neovim-telescope-git pkgver=0.1.0.r158.g6d3fbffe pkgrel=1 pkgdesc="Extensible fuzzy finder for lists" arch=('any') url="https://github.com/nvim-telescope/telescope.nvim" license=('MIT') groups=('neovim-plugins') depends=('neovim' 'neovim-plenary') optdepends=( 'bat: for inline previews' 'fd' 'ripgrep' 'neovim-tree-sitter' 'vim-devicons') makedepends=('git') provides=("${pkgname%-git}=${pkgver%.r*}") conflicts=("${pkgname%-git}") #source=("$pkgname::git+$url?signed") source=("$pkgname::git+$url") sha256sums=('SKIP') #validpgpkeys=( # '5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23' ## GitHub # '9CA54B35171429C416D631D6092CC34920FFEB96' ## Simon Hauser #) pkgver() { git -C "$pkgname" describe --long --tags | sed 's/-/.r/;s/-/./' } package() { cd "$pkgname" find data doc lua plugin \ -not \( -path lua/tests -prune \) \ -type f \ -exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \; install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" }