forked from ports/contrib
procs: fixed shell completion checks
This commit is contained in:
parent
d976f04551
commit
fb7fa13df7
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yFPzyEFeLD2upIFGsLpRlJv3TBPZVpX9GxoaVmrbTeB5F7Mewvoka+6uaI1dHQ+Hw6j0Q+sy4GmguJJTFFksw4=
|
||||
SHA256 (Pkgfile) = 00133a4fb40c219c9b4aa9c570d566342d70249eab513d178586d24b46fa9670
|
||||
RWSagIOpLGJF3zHgrKA2ADnF+DazTD3aNTGTfCbPeVjqw+qGTEeg9L+GC6L/NtsoDWdkTJ61JIkuYg7XJJmRt7FqKBURfeLC+AE=
|
||||
SHA256 (Pkgfile) = 9b4a0c0123885c39753c865babfdd939b0ef5804c3d580908351785c01961a8c
|
||||
SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db
|
||||
SHA256 (procs-0.11.7.tar.gz) = 39758bb7070e8c3d2490a0ef5cad2cfaabf2e69be0c3a5e90c386507fe6e6970
|
||||
|
@ -14,14 +14,14 @@ build() {
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
|
||||
cargo update --manifest-path $name-$version/Cargo.toml
|
||||
cargo fetch --manifest-path $name-$version/Cargo.toml --locked
|
||||
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
|
||||
prt-get isinst bash-completion && $PKG/usr/bin/procs --completion bash && \
|
||||
install -Dm644 $SRC/procs.bash \
|
||||
$PKG/usr/share/bash-completion/completions/procs
|
||||
$PKG/usr/share/bash-completion/completions/procs || true
|
||||
prt-get isinst zsh && $PKG/usr/bin/procs --completion zsh && \
|
||||
install -Dm644 $SRC/_procs $PKG//usr/share/zsh/site-functions/_procs
|
||||
install -Dm644 $SRC/_procs $PKG/usr/share/zsh/site-functions/_procs || \
|
||||
true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user