~irimi1/pkgbuilds

c7064e6605aed9b0ec75c64ae90cd99b2b424266 — Manuel Groß 1 year, 2 months ago 92a84f2 master
Add vim-sk-git
1 files changed, 27 insertions(+), 0 deletions(-)

A vim-sk-git/PKGBUILD
A vim-sk-git/PKGBUILD => vim-sk-git/PKGBUILD +27 -0
@@ 0,0 1,27 @@
# Maintainer: Manuel Groß <mgr@irimi.one>

# The plugin has been poorly hacked together and conflicts with the upstream
# one for fzf. It works for me, but for publishing the plugin needs clean-up.

pkgname=vim-sk-git
pkgver=r362.4e9d9a3
pkgrel=1
pkgdesc='vim support for skim, a fuzzy finder in rust'
arch=('any')
license=('MIT')
url='https://github.com/lotabout/skim.vim.git'
depends=('vim' 'skim')
makedepends=('git')
source=('git+https://github.com/lotabout/skim.vim.git')
md5sums=('SKIP')

pkgver() {
  cd skim.vim
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd skim.vim
  install -Dm644  plugin/fzf.vim "${pkgdir}/usr/share/vim/vimfiles/plugin/fzf/fzf.vim"
  cp -R autoload bin doc "${pkgdir}/usr/share/vim/vimfiles/"
}