blob: f19e3f3dc45d771660a650e35c16f221467d0fe1 (
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: Gabriel Hansson <gabrielhansson00 at gmail dot com>
pkgname=mason.nvim
pkgver=r1192.2381f50
pkgrel=1
pkgdesc="Package manager focused on IDE language extensions"
arch=('any')
url="https://github.com/williamboman/mason.nvim"
license=('Apache')
groups=('neovim-plugins')
depends=('neovim' 'git')
makedepends=('git')
optdepends=(
'neovim-lspconfig: setup configurations for LSP servers'
'mason-lspconfig.nvim: bridge mason with lspconfig'
'npm: for plugins installed from there'
'luarocks: for plugins installed from there'
'cargo: for plugins installed from there'
'nvim-dap: to use installed DAP packages'
'null-ls: to use installed formatters and linters')
install=mason.nvim.install
source=("$pkgname::git+$url")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
find lua doc -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
}
|