blob: fde5be610372702f632770102ca84e0b650fd003 (
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
29
30
31
32
33
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-registers-git
pkgver=1.4.1.r0.g3a8b221
pkgrel=1
pkgdesc="Neovim plugin to preview the contents of the registers"
arch=('any')
url="https://github.com/tversteeg/registers.nvim"
license=('GPL3')
groups=('neovim-plugins')
depends=('neovim')
makedepends=('git')
checkdepends=('neovim-plenary')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
md5sums=('SKIP')
pkgver() {
git -C "$pkgname" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
check() {
cd "$pkgname"
make test
}
package() {
cd "$pkgname"
find lua plugin syntax \
-type f -exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|