ports/contrib (3.7): procs: fix building shell completions
commit b8880ca6f062fc3df4a117a5e612d886dcc06fba Author: Tim Biermann <tbier@posteo.de> Date: Sat Sep 30 14:57:10 2023 +0200 procs: fix building shell completions diff --git a/procs/.signature b/procs/.signature index c4f844ede..742a79c49 100644 --- a/procs/.signature +++ b/procs/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/2Va2vU5pVM+ASWWisv/qXwdpHgld1XEJd9lSJ+YhuGVrRx0ABS1mrZn8Yuk2ITbXHzoVVdHqQ1h35o8nfjeAI= -SHA256 (Pkgfile) = 3a0319324aca86980eb6e45b76970fe7a7e0e85502b2518941c76c5a4edc763d +RWSagIOpLGJF34HnAaJ1HjdNi9sVxrzy2jYN43Yqr3BQNIkT3Ep+RC9OLSCRhjSVoWnVsCznujjZexdLnog+xQDuzI0id9i1tAE= +SHA256 (Pkgfile) = cf8f19daab7eea8cb5fd10b11db593d30927fa366dacfdfff9e7d54f5499709a SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db SHA256 (procs-0.14.0.tar.gz) = fa5af0951dc8aa63c0590f8c5c1136594866057704cfb1cdfc22ac3cc49437c6 diff --git a/procs/Pkgfile b/procs/Pkgfile index 23441efc7..b866908d8 100644 --- a/procs/Pkgfile +++ b/procs/Pkgfile @@ -5,7 +5,7 @@ name=procs version=0.14.0 -release=1 +release=2 source=(https://github.com/dalance/procs/archive/v$version/$name-$version.tar.gz) build() { @@ -15,11 +15,13 @@ build() { 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 \ $PKG/usr/share/bash-completion/completions/procs - prt-get isinst zsh && $PKG/usr/bin/procs --completion zsh && \ - install -Dm644 $SRC/_procs $PKG/usr/share/zsh/site-functions/_procs + prt-get isinst zsh && $name-$version/target/release/$name \ + --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 }
participants (1)
-
crux@crux.nu