mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
41 lines
861 B
Text
41 lines
861 B
Text
local git_ref = '$git_ref'
|
|
local modrev = '$modrev'
|
|
local specrev = '-1'
|
|
|
|
local repo_url = '$repo_url'
|
|
|
|
rockspec_format = '3.0'
|
|
package = '$package'
|
|
version = modrev .. specrev
|
|
|
|
description = {
|
|
summary = 'Nvim Treesitter configurations and abstraction layer',
|
|
detailed = $detailed_description,
|
|
labels = { 'neovim' },
|
|
homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
|
|
license = 'Apache-2.0',
|
|
}
|
|
|
|
dependencies = {
|
|
'lua >= 5.1',
|
|
}
|
|
|
|
-- source = file:///.
|
|
|
|
source = {
|
|
url = repo_url .. '/archive/' .. git_ref .. '.zip',
|
|
dir = '$repo_name-' .. '$archive_dir_suffix',
|
|
}
|
|
|
|
build = {
|
|
type = 'make',
|
|
build_pass = false,
|
|
install_variables = {
|
|
INST_PREFIX='$(PREFIX)',
|
|
INST_BINDIR='$(BINDIR)',
|
|
INST_LIBDIR='$(LIBDIR)',
|
|
INST_LUADIR='$(LUADIR)',
|
|
INST_CONFDIR='$(CONFDIR)',
|
|
},
|
|
copy_directories = $copy_directories,
|
|
}
|