You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
[package]
|
|
cargo-toml-patch-comments = [
|
|
"port from path_abs to path-absolutize: https://github.com/sharkdp/bat/pull/1025",
|
|
"bump nix from 0.26 to 0.29",
|
|
"bump nu-ansi-term from 0.49.0 to 0.50.0",
|
|
"adapt license tag to reflect bundled content",
|
|
"drop unused lessopen feature and its dependencies",
|
|
]
|
|
extra-files = [
|
|
"%{_mandir}/man1/bat.1*",
|
|
"%{bash_completions_dir}/bat.bash",
|
|
"%{fish_completions_dir}/bat.fish",
|
|
"%{zsh_completions_dir}/_bat",
|
|
]
|
|
|
|
[scripts]
|
|
install.post = [
|
|
"# install man page",
|
|
"install -Dpm0644 target/release/build/%{crate}-*/out/assets/manual/bat.1 \\",
|
|
" -t %{buildroot}%{_mandir}/man1/",
|
|
"# install shell completions",
|
|
"install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.bash \\",
|
|
" %{buildroot}/%{bash_completions_dir}/bat.bash",
|
|
"install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.fish \\",
|
|
" %{buildroot}/%{fish_completions_dir}/bat.fish",
|
|
"install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.zsh \\",
|
|
" %{buildroot}/%{zsh_completions_dir}/_bat",
|
|
]
|
|
|