diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0487c47255f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: lmartinez-mirror +pkgname=vim-vifm-git +pkgver=0.11.r72.g1fec4a02 +pkgrel=1 +pkgdesc="Vim plugin that allows use of vifm as a file picker" +arch=('any') +url="https://github.com/vifm/vifm.vim" +license=('unknown') +groups=('vim-plugins') +depends=('vim-plugin-runtime' 'vifm') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' +} + +package() { + cd "$pkgname" + find autoload doc ftdetect ftplugin plugin syntax \ + -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; +} |