pkg:setup make prefix=#{libexec} DESTDIR=${PKG_DEST} install (bin/"git-flow").write <<~EOS #!/bin/bash export FLAGS_GETOPT_CMD=#{Formula["gnu-getopt"].opt_bin}/getopt exec "#{libexec}/bin/git-flow" "$@" EOS resource("completion").stage do bash_completion.install "git-flow-completion.bash" zsh_completion.install "git-flow-completion.zsh" fish_completion.install "git.fish"