sniffglue: fixed shell completion generation and footprint
This commit is contained in:
parent
16bf07fef8
commit
1842d2d517
@ -1,7 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/sniffglue
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/zsh/
|
||||
drwxr-xr-x root/root usr/share/zsh/site-functions/
|
||||
-rw-r--r-- root/root usr/share/zsh/site-functions/_sniffglue
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF389QurtRmUWeDcDMS84HHTTRcRvqZ3HzeE/wm2sGYlEJWs4o/GIkt8oDsSJeId2mqoLPYEF7PhXHM002HhpN8QU=
|
||||
SHA256 (Pkgfile) = 4a3230650695784ae506788ac8257dc0ccf8f68cf2fc3c0007b4bbb165317de0
|
||||
SHA256 (.footprint) = 85b62a4f4d8284984064db90a4b61fd64360bdda6b194e7f5766ab2c462bf3d7
|
||||
RWSagIOpLGJF34wFITPD5bRo9Ihw8Hq5B+3NhXELHuEcOzI3hEhVotO8lK8+h6h/QBvqX7WdWUD2rc/O2hGwKS6cQqWzGiimcQk=
|
||||
SHA256 (Pkgfile) = 9cd1f69b7a6a33bd867a241a2173375d1fed425c983f8967c8fdddf0257c3426
|
||||
SHA256 (.footprint) = 17020e1073a073b7c816e4adc82769d7e853f7cdf8d096c14c425c8372e5a48c
|
||||
SHA256 (sniffglue-0.13.1.tar.gz) = 5994522cb62b2555185f042dcb6dd57d8aaa0ebaf015958d18de79501e6736d2
|
||||
|
@ -16,12 +16,12 @@ build() {
|
||||
cargo update --manifest-path $name-$version/Cargo.toml
|
||||
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
|
||||
prt-get isinst bash-completions && \
|
||||
install -d $PKG/usr/share/bash-completion/completions && \
|
||||
$PKG/usr/bin/sniffglue --gen-completions bash > $PKG/usr/share/bash-completion/completions/sniffglue
|
||||
$name-$version/target/release/sniffglue --gen-completions bash > $PKG/usr/share/bash-completion/completions/sniffglue
|
||||
prt-get isinst zsh && \
|
||||
install -d $PKG/usr/share/zsh/site-functions && \
|
||||
$PKG/usr/bin/sniffglue --gen-completions zsh > $PKG/usr/share/zsh/site-functions/_sniffglue
|
||||
$name-$version/target/release/sniffglue --gen-completions zsh > $PKG/usr/share/zsh/site-functions/_sniffglue
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user