Changeset View
Standalone View
package.yml
- This file was added.
| name : broot | |||||
| version : 0.13.6 | |||||
| release : 1 | |||||
| source : | |||||
| - https://github.com/Canop/broot/archive/v0.13.6.tar.gz : f28eea78bba1660ecdbdb9ebac8e215b7523b94f7d490d69d8022df44eacec3c | |||||
| license : MIT | |||||
| component : system.utils | |||||
| summary : A new way to see and navigate directory trees | |||||
| networking : yes | |||||
| builddeps : | |||||
| cargo | |||||
DataDrake: Should be a list format, even for one item. | |||||
| description: | | |||||
| A new way to see and navigate directory trees using cd, tree, and fuzzy search. | |||||
Done Inline Actionsdescription should go after summary, not after builddeps. JoshStrobl: description should go after summary, not after builddeps. | |||||
| build : | | |||||
Done Inline ActionsDid you mean "setup"? "prep" doesn't do anything. DataDrake: Did you mean "setup"? "prep" doesn't do anything. | |||||
| cargo build --release --locked | |||||
| install : | | |||||
| install -Dm00755 $workdir/target/release/broot $installdir/usr/bin/broot | |||||
| # install -Dm00644 $workdir/target/release/build/broot-440f2c71a02ef3c5/out/_* -t $installdir/usr/share/zsh/site-functions/ | |||||
Done Inline ActionsAccording to https://github.com/Canop/broot/blob/master/build.rs they are also building shell completions and I see a man page dir in the project's root. We should ideally be installing what shell completions they do have:
manpage location will be determined by the section they are expecting, probably 1 for general commands, so it should be installed to /usr/share/man/man1/ and be sure it has .1 appended to the end of the man page file name. JoshStrobl: According to https://github.com/Canop/broot/blob/master/build.rs they are also building shell… | |||||
| # install -Dm00644 $workdir/target/release/build/broot-440f2c71a02ef3c5/out/*.fish -t $installdir/usr/share/fish/completions/ | |||||
Done Inline ActionsSeems like a fair bit of redundancy with how you're doing completions installation. You could more easily accomplish all of this using a pushd into the target out directory and loop a list of the completions or the directories and install from there. Otherwise it's a good start. JoshStrobl: Seems like a fair bit of redundancy with how you're doing completions installation. You could… | |||||
| # install -Dm00644 $workdir/target/release/build/broot-440f2c71a02ef3c5/out/*.bash -t $installdir/usr/share/bash-completion/completions/ | |||||
Done Inline ActionsShould just be: install -Dm00755 target/release/broot $installdir/usr/bin/broot DataDrake: Should just be:
```
install -Dm00755 target/release/broot $installdir/usr/bin/broot
``` | |||||
| # install -Dm00644 $workdir/man/page $installdir/usr/share/man/man1/broot.1 | |||||
Done Inline ActionsWe don't ship license files unless upstream does it of their own volition. DataDrake: We don't ship license files unless upstream does it of their own volition. | |||||
| find . -name _* -exec install -Dm00644 '{}' -t "$installdir/usr/share/zsh/site-functions/" ";" | |||||
| find . -name *.bash -exec install -Dm00644 '{}' -t "$installdir/usr/share/bash-completion/completions/" ";" | |||||
| find . -name *.fish -exec install -Dm00644 '{}' -t "$installdir/usr/share/fish/completions/" ";" | |||||
Should be a list format, even for one item.