diff options
author | Michael Herzberg | 2018-08-21 13:00:32 +0100 |
---|---|---|
committer | Michael Herzberg | 2018-08-21 13:00:32 +0100 |
commit | 6ecd4106155dff0c765b34d4de7436d7c6ba358c (patch) | |
tree | 1cb0babee35f3f212a22d1c7e5e3cb8facb1835e | |
download | aur-6ecd4106155dff0c765b34d4de7436d7c6ba358c.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3adfcc3b519b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = vim-fzf-git + pkgdesc = Vim plugin that integrates fzf, the fuzzy file finder + pkgver = r327.f39c92b + pkgrel = 1 + url = https://github.com/junegunn/fzf.vim + arch = any + license = MIT + makedepends = git + depends = vim + depends = fzf + source = git+https://github.com/junegunn/fzf.vim + md5sums = SKIP + +pkgname = vim-fzf-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c36183bbd021 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de> + +pkgname=vim-fzf-git +pkgver=r327.f39c92b +pkgrel=1 +pkgdesc='Vim plugin that integrates fzf, the fuzzy file finder' +arch=('any') +license=('MIT') +url='https://github.com/junegunn/fzf.vim' +depends=('vim' 'fzf') +makedepends=('git') +source=('git+https://github.com/junegunn/fzf.vim') +md5sums=('SKIP') + +pkgver() { + cd fzf.vim + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd fzf.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/" +} |