local git_ref = 'ac4dda6839e6057d7752dfeb76394f19a5387238'
local modrev = 'scm'
local specrev = '1'

local repo_url = 'https://github.com/ray-x/aurora'

rockspec_format = '3.0'
package = 'aurora'
version = modrev ..'-'.. specrev

description = {
  summary = 'A vivid dark theme for (Neo)Vim. Optimized for treesitter, LSP.',
  detailed = '',
  labels = { 'neovim' } ,
  homepage = 'https://github.com/ray-x/aurora',
  license = 'MIT'
}

dependencies = { 'lua >= 5.1' } 

test_dependencies = { }

source = {
  url = repo_url .. '/archive/' .. git_ref .. '.zip',
  dir = 'aurora-' .. 'ac4dda6839e6057d7752dfeb76394f19a5387238',
}

if modrev == 'scm' or modrev == 'dev' then
  source = {
    url = repo_url:gsub('https', 'git')
  }
end

build = {
  type = 'builtin',
  copy_directories = { 'autoload', 'colors' } ,
}
