timsutton/brew-pkg — pull request #3 by garnierclement (2014-07-25 09:46:09+00:00)
Title:  Add option to set the path to custom preinstall and postinstall scripts

Hi timsutton, `pkgbuil` has a useful option `--scripts` to add some pre and post install scripts.
Thus it can be used to customize the generated packages. I made few changes to make it work.