I have worked so hard to pack this but I discover that I just reinvent the wheel. 😭 The original author already provides the package installer for us.
Generic Sound Card Driver.
Generic USB 3.0 Driver.
A kext installer.
All the pkg is available through caskroom. Here is the bootstrap script:
brew tap githubutilities/tap
brew cask install hwsensors
brew cask install voodoo-hda-kext
brew cask install generic-usb-xhci-kext
# install kext-wizard
brew tap caskroom/unofficial
brew cask install kext-wizard