abinfo "Installing man pages ..."
mkdir -pv "$PKGDIR"/usr/share/man/man1
"$PKGDIR"/usr/bin/crush man > "$PKGDIR"/usr/share/man/man1/crush.1

abinfo "Installing shell completions ..."
mkdir -pv "$PKGDIR"/usr/share/bash-completion/completions/
mkdir -pv "$PKGDIR"/usr/share/fish/vendor_completions.d/
mkdir -pv "$PKGDIR"/usr/share/zsh/site-functions/
"$PKGDIR"/usr/bin/crush completion bash > "$PKGDIR"/usr/share/bash-completion/completions/crush
"$PKGDIR"/usr/bin/crush completion zsh > "$PKGDIR"/usr/share/zsh/site-functions/crush
"$PKGDIR"/usr/bin/crush completion fish > "$PKGDIR"/usr/share/fish/vendor_completions.d/crush.fish
