blob: b7b0def61e4930ece95250328ebe48bbc6a1b452 (
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
26
27
28
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-gitsigns-git
pkgver=0.3.r14.g1859435
pkgrel=1
epoch=2
pkgdesc="Git signs written in pure Lua"
arch=('any')
url="https://github.com/lewis6991/gitsigns.nvim"
license=('MIT')
groups=('neovim-plugins')
depends=('git' 'neovim>=0.5.0' 'neovim-plenary')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install="$pkgname.install"
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
git -C "$pkgname" describe --long --tags --exclude release | sed 's/^v//;s/-/.r/;s/-/./'
}
package() {
cd "$pkgname"
find doc lua teal types -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|