mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
Running "strings" on the binary uninstaller reveals several strings which appear to be shell calls to "kextunload" and "pkgutil --forget" so, running the uninstaller should be sufficient to remove the driver, unload it and remove the package's receipt.
13 lines
557 B
Ruby
13 lines
557 B
Ruby
class Ax88772 < Cask
|
|
homepage 'http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=86;71;101&PLine=71'
|
|
|
|
version '2.1.0_20140428'
|
|
basename = "AX88772C_772B_772A_760_772_Macintosh_10.5_to_10.9_Driver_Installer_v#{version}"
|
|
|
|
url "http://www.asix.com.tw/FrootAttach/driver/#{basename}.zip"
|
|
sha256 'ea7b2c401855c991cfd9d147632d5bf0478c99a4be034575301eb8549404391f'
|
|
|
|
nested_container "#{basename}/AX88772.dmg"
|
|
install "AX88772_v#{version[0..-10]}.pkg"
|
|
uninstall :script => { :executable => 'AX88772C_772B_772A_760_772_Uninstall_v130' }
|
|
end
|