Use a `resource` for this; grep existing formulae in the main Homebrew repo for examples.