
rockspec_format = "3.0"
package = "lualatex"
version = "0.0.1-1"

description = {
summary = "lualatex for LaTeX",
detailed = "See https://github.com/ustctug/texrocks",
license = "GPL-3.0",
homepage = "https://www.lualatex.org/",
maintainer = "Wu",
labels = {
"texmf",
},
}

dependencies = {
"lua >=5.1",
"latex-base ==2025.06.01",
"texrocks ==0.2.3",
"tex-ini-files ==2025.02.09",
"amsfonts ==3.04",
}

build_dependencies = {
"latex-base ==2025.06.01",
"amsfonts ==3.04",
"tex-ini-files ==2025.02.09",
"latex-fonts ==0.0.1",
"texrocks ==0.2.3",
}

source = {
url = "https://github.com/ustctug/texrocks/archive/0.2.3.zip",
dir = "texrocks-0.2.3/packages/lualatex",
}

test = {
type = "command",
flags = {
"test.tex",
},
command = "lualatex",
}

deploy = {
wrap_bin_scripts = false,
}

build = {
type = "command",
build_command = "texlua --ini --interaction=nonstopmode lualatex.ini",
install = {
bin = {
lualatex = "lualatex",
},
conf = {
['../web2c/luahbtex/lualatex.fmt'] = "lualatex.fmt",
},
},
}