archlinux-pkgbuilds/vim-logstash-git/PKGBUILD
Cedric Girard c11ec1881e Add 'vim-logstash-git/' from commit '8c693aad7c3c7e10f8a14c1c4b33f5fa4ea0596d'
git-subtree-dir: vim-logstash-git
git-subtree-mainline: e2f274607b
git-subtree-split: 8c693aad7c
2019-02-14 15:33:34 +01:00

26 lines
741 B
Bash

# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=vim-logstash-git
pkgver=r11.6d96810
pkgrel=1
pkgdesc='Vim highlights configuration files for logstash'
arch=('any')
url='https://github.com/robbles/logstash.vim'
license=('MIT')
depends=('vim')
source=("vim-logstash::git+https://github.com/robbles/logstash.vim.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir"/vim-logstash
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir"/vim-logstash
local installpath="$pkgdir/usr/share/vim/vimfiles"
install -Dm644 ftdetect/logstash.vim "$installpath/ftdetect/logstash.vim"
install -Dm644 syntax/logstash.vim "$installpath/syntax/logstash.vim"
}
# vim:set ts=2 sw=2 et: