forked from pool/helix
Accepting request 979878 from home:uncomfyhalomacro:branches:editors
fix typo OBS-URL: https://build.opensuse.org/request/show/979878 OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=20
This commit is contained in:
parent
1efa4e6bc9
commit
b05f6ac555
78
helix.spec
78
helix.spec
@ -54,7 +54,7 @@ install -m 0755 %{_builddir}/%{name}/target/release/hx %{buildroot}%{_libdir}/%{
|
||||
cp -rv "runtime/queries" %{buildroot}%{_helix_runtimedir}
|
||||
cp -rv "runtime/themes" %{buildroot}%{_helix_runtimedir}
|
||||
find "%{_builddir}/%{name}/runtime/grammars" -type f -name '*.so' -exec \
|
||||
install -Dm 755 {} -t "%{_buildroot}%{_helix_runtimedir}/grammars" \;
|
||||
install -Dm 755 {} -t "%{buildroot}%{_helix_runtimedir}/grammars" \;
|
||||
install -Dm644 runtime/tutor.txt -t %{buildroot}%{_helix_runtimedir}
|
||||
ln -sv %{_helix_runtimedir} %{buildroot}%{_libdir}/%{name}/runtime
|
||||
install -D -d -m 0755 %{buildroot}%{_bindir}
|
||||
@ -76,7 +76,81 @@ ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name}
|
||||
%dir %{_helix_runtimedir}
|
||||
%dir %{_helix_runtimedir}/queries
|
||||
%dir %{_helix_runtimedir}/themes
|
||||
%dir %{_helix_runtimedir}/grammars
|
||||
|
||||
# Grammars
|
||||
%{_helix_runtimedir}/grammars/rust.so
|
||||
%{_helix_runtimedir}/grammars/tablegen.so
|
||||
%{_helix_runtimedir}/grammars/regex.so
|
||||
%{_helix_runtimedir}/grammars/c.so
|
||||
%{_helix_runtimedir}/grammars/protobuf.so
|
||||
%{_helix_runtimedir}/grammars/haskell.so
|
||||
%{_helix_runtimedir}/grammars/ledger.so
|
||||
%{_helix_runtimedir}/grammars/elixir.so
|
||||
%{_helix_runtimedir}/grammars/fish.so
|
||||
%{_helix_runtimedir}/grammars/embedded-template.so
|
||||
%{_helix_runtimedir}/grammars/tsq.so
|
||||
%{_helix_runtimedir}/grammars/graphql.so
|
||||
%{_helix_runtimedir}/grammars/vue.so
|
||||
%{_helix_runtimedir}/grammars/sql.so
|
||||
%{_helix_runtimedir}/grammars/python.so
|
||||
%{_helix_runtimedir}/grammars/svelte.so
|
||||
%{_helix_runtimedir}/grammars/iex.so
|
||||
%{_helix_runtimedir}/grammars/json.so
|
||||
%{_helix_runtimedir}/grammars/rescript.so
|
||||
%{_helix_runtimedir}/grammars/git-diff.so
|
||||
%{_helix_runtimedir}/grammars/bash.so
|
||||
%{_helix_runtimedir}/grammars/tsx.so
|
||||
%{_helix_runtimedir}/grammars/dart.so
|
||||
%{_helix_runtimedir}/grammars/javascript.so
|
||||
%{_helix_runtimedir}/grammars/ocaml-interface.so
|
||||
%{_helix_runtimedir}/grammars/cpp.so
|
||||
%{_helix_runtimedir}/grammars/git-commit.so
|
||||
%{_helix_runtimedir}/grammars/r.so
|
||||
%{_helix_runtimedir}/grammars/gdscript.so
|
||||
%{_helix_runtimedir}/grammars/comment.so
|
||||
%{_helix_runtimedir}/grammars/latex.so
|
||||
%{_helix_runtimedir}/grammars/eex.so
|
||||
%{_helix_runtimedir}/grammars/git-rebase.so
|
||||
%{_helix_runtimedir}/grammars/julia.so
|
||||
%{_helix_runtimedir}/grammars/toml.so
|
||||
%{_helix_runtimedir}/grammars/llvm.so
|
||||
%{_helix_runtimedir}/grammars/php.so
|
||||
%{_helix_runtimedir}/grammars/perl.so
|
||||
%{_helix_runtimedir}/grammars/go.so
|
||||
%{_helix_runtimedir}/grammars/nix.so
|
||||
%{_helix_runtimedir}/grammars/gleam.so
|
||||
%{_helix_runtimedir}/grammars/erlang.so
|
||||
%{_helix_runtimedir}/grammars/solidity.so
|
||||
%{_helix_runtimedir}/grammars/cmake.so
|
||||
%{_helix_runtimedir}/grammars/glsl.so
|
||||
%{_helix_runtimedir}/grammars/typescript.so
|
||||
%{_helix_runtimedir}/grammars/zig.so
|
||||
%{_helix_runtimedir}/grammars/llvm-mir.so
|
||||
%{_helix_runtimedir}/grammars/markdown.so
|
||||
%{_helix_runtimedir}/grammars/make.so
|
||||
%{_helix_runtimedir}/grammars/ocaml.so
|
||||
%{_helix_runtimedir}/grammars/heex.so
|
||||
%{_helix_runtimedir}/grammars/css.so
|
||||
%{_helix_runtimedir}/grammars/lua.so
|
||||
%{_helix_runtimedir}/grammars/swift.so
|
||||
%{_helix_runtimedir}/grammars/dockerfile.so
|
||||
%{_helix_runtimedir}/grammars/elm.so
|
||||
%{_helix_runtimedir}/grammars/scala.so
|
||||
%{_helix_runtimedir}/grammars/wgsl.so
|
||||
%{_helix_runtimedir}/grammars/html.so
|
||||
%{_helix_runtimedir}/grammars/ruby.so
|
||||
%{_helix_runtimedir}/grammars/c-sharp.so
|
||||
%{_helix_runtimedir}/grammars/lean.so
|
||||
%{_helix_runtimedir}/grammars/git-config.so
|
||||
%{_helix_runtimedir}/grammars/kotlin.so
|
||||
%{_helix_runtimedir}/grammars/twig.so
|
||||
%{_helix_runtimedir}/grammars/hcl.so
|
||||
%{_helix_runtimedir}/grammars/org.so
|
||||
%{_helix_runtimedir}/grammars/yaml.so
|
||||
%{_helix_runtimedir}/grammars/java.solidity
|
||||
|
||||
# Queries
|
||||
%{_helix_runtimedir}/queries/bash
|
||||
%{_helix_runtimedir}/queries/c
|
||||
%{_helix_runtimedir}/queries/c-sharp
|
||||
@ -416,6 +490,8 @@ ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name}
|
||||
%{_helix_runtimedir}/queries/zig/highlights.scm
|
||||
%{_helix_runtimedir}/queries/zig/indents.scm
|
||||
%{_helix_runtimedir}/queries/zig/injections.scm
|
||||
|
||||
# Themes
|
||||
%{_helix_runtimedir}/themes/README.md
|
||||
%{_helix_runtimedir}/themes/autumn.toml
|
||||
%{_helix_runtimedir}/themes/base16_default_dark.toml
|
||||
|
Loading…
Reference in New Issue
Block a user