Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : bat | name : bat | ||||
| version : 0.18.1 | version : 0.18.2 | ||||
| release : 20 | release : 21 | ||||
| source : | source : | ||||
| - https://github.com/sharkdp/bat/archive/refs/tags/v0.18.1.tar.gz : ab5246c3bec8745c14ca9a0473971f00fbce2fdc1ce7842e0a96676ee5eac2af | - https://github.com/sharkdp/bat/archive/refs/tags/v0.18.2.tar.gz : b176787e27da1f920b655bcd71b66c1569d241e2272bb9a4f6a64e6501c0cf2a | ||||
| license : | license : | ||||
| - Apache-2.0 | - Apache-2.0 | ||||
| - MIT | - MIT | ||||
| homepage : https://github.com/sharkdp/bat | homepage : https://github.com/sharkdp/bat | ||||
| component : system.utils | component : system.utils | ||||
| summary : bat supports syntax highlighting for a large number of programming and | summary : bat supports syntax highlighting for a large number of programming and markup languages | ||||
| markup languages | |||||
| description: | | description: | | ||||
| bat supports syntax highlighting for a large number of programming and markup languages | bat supports syntax highlighting for a large number of programming and markup languages | ||||
| networking : yes | networking : yes | ||||
| clang : yes | clang : yes | ||||
| builddeps : | builddeps : | ||||
| - cargo | - cargo | ||||
| build : | | build : | | ||||
| cargo build --release | cargo build --release | ||||
| install : | | install : | | ||||
| install -Dm00755 target/release/bat $installdir/usr/bin/bat | install -Dm00755 target/release/bat $installdir/usr/bin/bat | ||||
| find ./ -name bat.1 -exec install -Dm00644 {} $installdir/usr/share/man/man1/bat.1 \; | install -Dm00644 target/release/build/*/out/assets/manual/bat.1 $installdir/usr/share/man/man1/bat.1 | ||||
sethfl: Interpolating `${version}` doesn't work here as the build folder for `bat` is not named after… | |||||
| find ./ -name bat.fish -exec install -Dm00644 {} $installdir/usr/share/fish/vendor_completions.d/bat.fish \; | install -Dm00644 target/release/build/*/out/assets/completions/bat.fish $installdir/usr/share/fish/vendor_completions.d/bat.fish | ||||
| find ./ -name bat.zsh -exec install -Dm00644 {} $installdir/usr/share/zsh/site-functions/_bat \; | install -Dm00644 target/release/build/*/out/assets/completions/bat.zsh $installdir/usr/share/zsh/site-functions/_bat | ||||
| install -Dm00644 target/release/build/*/out/assets/completions/bat.bash $installdir/usr/share/bash-completion/completions/bat | |||||
Done Inline ActionsI think I found a good compromise between @livingsilver94 and @algent's suggestions (plus the absolute path to the files won't have to be updated for every new version). sethfl: I think I found a good compromise between @livingsilver94 and @algent's suggestions (plus the… | |||||
| check : | | check : | | ||||
| cargo test | cargo test | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
Interpolating ${version} doesn't work here as the build folder for bat is not named after the version number (ex: bat-e80b9fedac527dea instead of bat-0.18.2)