commit f95d35ea5225e11f4dac79f1789748d0dd8ee087 Author: Tim Biermann <tbier@posteo.de> Date: Mon Jun 28 10:53:31 2021 +0000 gpg-tui: added shell completion files and manpage diff --git a/gpg-tui/.footprint b/gpg-tui/.footprint index fa02e3f40..ccf40dfb0 100644 --- a/gpg-tui/.footprint +++ b/gpg-tui/.footprint @@ -1,3 +1,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/gpg-tui +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/gpg-tui.1.gz diff --git a/gpg-tui/.signature b/gpg-tui/.signature index 8f984f8a4..29b0b18e2 100644 --- a/gpg-tui/.signature +++ b/gpg-tui/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/dLvpGlXR/WyipzrxNtkM7I749SI3Vv38eV62mn2+SPOg28V0+gToBTEJdVVNm3k5fGBt/jY8AjUY3n4LWlTww= -SHA256 (Pkgfile) = a3bfb7dd828653c6f16756a9b88e893db555e30477dd0e9ec91a9d61b081a274 -SHA256 (.footprint) = 00c504bc1574d67a80b355bdd600459a22b61a0248352f5d3c9c3a372c4e9914 +RWSagIOpLGJF3yrBnYBERU7EUhgT7SFBuOWyN+KW8SXEzmNQmadQcGBT0x9HRluguNa0dG+fxBYiYn/RRRwE7VpykAEpw1MqKg4= +SHA256 (Pkgfile) = eee2fb6c988c7a391175bf59e072577870af86fc70d9944da3d265ed08f19d49 +SHA256 (.footprint) = 3b2cb5ed9f367ba643ced8da5c86b375dd3b321298bec5af997dbe4886516f53 SHA256 (gpg-tui-0.6.2.tar.gz) = d4f3f9366c22580d897142a35b5ab01685f090b10dace96f443d3440e53c742a diff --git a/gpg-tui/Pkgfile b/gpg-tui/Pkgfile index d40e4f7e2..0c98e2ef3 100644 --- a/gpg-tui/Pkgfile +++ b/gpg-tui/Pkgfile @@ -15,6 +15,13 @@ build() { cargo update --manifest-path $name-$version/Cargo.toml cargo build --release --locked --manifest-path $name-$version/Cargo.toml + mkdir $SRC/completions + OUT_DIR=$SRC/completions/ cargo run --bin completions --manifest-path $name-$version/Cargo.toml install -Dt $PKG/usr/bin $name-$version/target/release/$name + + prt-get isinst bash-completion && install -Dm 644 $SRC/completions/$name.bash -t $PKG/usr/share/bash-completion/completions/$name || true + prt-get isinst zsh && install -Dm 644 completions/_$name -t $PKG/usr/share/zsh/site-functions || true + + install -Dm 644 $name-$version/man/$name.1 -t $PKG/usr/share/man/man1 }