local git_ref = 'v5.3.5'
local modrev = '5.3.5'
local specrev = '1'

local repo_url = 'https://github.com/nvim-neorocks/luarocks-tag-release'

rockspec_format = '3.0'
package = 'luarocks-tag-release'
version = modrev ..'-'.. specrev

description = {
  summary = 'Luarocks release workflow for GitHub',
  detailed = [[
This is not a real lua package.
It exists for the purpose of testing the workflow.]],
  labels = { 'neovim' } ,
  homepage = 'https://github.com/nvim-neorocks/luarocks-tag-release',
  license = 'AGPL-3.0'
}

dependencies = { 'lua >= 5.1', 'dkjson' } 

source = {
  url = repo_url .. '/archive/' .. git_ref .. '.zip',
  dir = 'luarocks-tag-release-' .. '5.3.5',
}

build = {
  type = 'builtin',
  copy_directories = { 'bin' } ,
}
