forked from ports/contrib
procs: fix building shell completions
This commit is contained in:
parent
320cd9e4e6
commit
b8880ca6f0
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3/2Va2vU5pVM+ASWWisv/qXwdpHgld1XEJd9lSJ+YhuGVrRx0ABS1mrZn8Yuk2ITbXHzoVVdHqQ1h35o8nfjeAI=
|
RWSagIOpLGJF34HnAaJ1HjdNi9sVxrzy2jYN43Yqr3BQNIkT3Ep+RC9OLSCRhjSVoWnVsCznujjZexdLnog+xQDuzI0id9i1tAE=
|
||||||
SHA256 (Pkgfile) = 3a0319324aca86980eb6e45b76970fe7a7e0e85502b2518941c76c5a4edc763d
|
SHA256 (Pkgfile) = cf8f19daab7eea8cb5fd10b11db593d30927fa366dacfdfff9e7d54f5499709a
|
||||||
SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db
|
SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db
|
||||||
SHA256 (procs-0.14.0.tar.gz) = fa5af0951dc8aa63c0590f8c5c1136594866057704cfb1cdfc22ac3cc49437c6
|
SHA256 (procs-0.14.0.tar.gz) = fa5af0951dc8aa63c0590f8c5c1136594866057704cfb1cdfc22ac3cc49437c6
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
name=procs
|
name=procs
|
||||||
version=0.14.0
|
version=0.14.0
|
||||||
release=1
|
release=2
|
||||||
source=(https://github.com/dalance/procs/archive/v$version/$name-$version.tar.gz)
|
source=(https://github.com/dalance/procs/archive/v$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -15,11 +15,13 @@ build() {
|
|||||||
|
|
||||||
cargo build --release --manifest-path $name-$version/Cargo.toml
|
cargo build --release --manifest-path $name-$version/Cargo.toml
|
||||||
|
|
||||||
prt-get isinst bash-completion && $PKG/usr/bin/procs --completion bash && \
|
prt-get isinst bash-completion && $name-$version/target/release/$name \
|
||||||
|
--gen-completion-out bash >> $SRC/procs.bash && \
|
||||||
install -Dm644 $SRC/procs.bash \
|
install -Dm644 $SRC/procs.bash \
|
||||||
$PKG/usr/share/bash-completion/completions/procs
|
$PKG/usr/share/bash-completion/completions/procs
|
||||||
prt-get isinst zsh && $PKG/usr/bin/procs --completion zsh && \
|
prt-get isinst zsh && $name-$version/target/release/$name \
|
||||||
install -Dm644 $SRC/_procs $PKG/usr/share/zsh/site-functions/_procs
|
--gen-completion-out zsh >> $SRC/_procs.zsh && \
|
||||||
|
install -Dm644 $SRC/_procs.zsh $PKG/usr/share/zsh/site-functions/_procs
|
||||||
|
|
||||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user