abinfo "Installing completions ..."
install -dvm755 "$PKGDIR"/usr/share/bash-completion/completions
install -dvm755 "$PKGDIR"/usr/share/fish/vendor_completions.d
install -dvm755 "$PKGDIR"/usr/share/zsh/site-functions
"$PKGDIR"/usr/bin/buf completion bash > \
    "$PKGDIR"/usr/share/bash-completion/completions/buf
"$PKGDIR"/usr/bin/buf completion fish > \
    "$PKGDIR"/usr/share/fish/vendor_completions.d/buf.fish
"$PKGDIR"/usr/bin/buf completion zsh > \
    "$PKGDIR"/usr/share/zsh/site-functions/_buf

abinfo "Installing manpage ..."
install -dvm755 "$PKGDIR"/usr/share/man/man1
"$PKGDIR"/usr/bin/buf manpages "$PKGDIR"/usr/share/man/man1
