summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6092768a8d5c0133571114f81ca2a35131484087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>

pkgname=vim-neomake-git
pkgver=r2741.8df87617
pkgrel=1
pkgdesc="Asynchronous linting and make framework for Neovim/Vim"
arch=('any')
url="https://github.com/neomake/neomake"
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
makedepends=('git')
source=("$pkgname::git+$url")
sha256sums=('SKIP')

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

package() {
	cd "$pkgname"
	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
	find autoload doc plugin syntax -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
}