homebrew-cask/Casks/ax88772.rb

22 lines
773 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'ax88772' do
2016-01-06 23:02:53 +08:00
version '2.4.0_20151117'
sha256 'cc336a77ed35ab6b9972f76fb2a4c77650072c2844fd1632a1875b035a311c6f'
module Utils
def self.basename
2016-01-06 23:02:53 +08:00
"AX88772C_772B_772A_760_772_Macintosh_10.5_to_10.11_Driver_Installer_v#{Module.nesting.last.version}"
end
end
url "http://www.asix.com.tw/FrootAttach/driver/#{Utils.basename}.zip"
2015-01-04 11:32:35 +08:00
name 'AX88772'
homepage 'http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=86;71;101&PLine=71'
license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
2014-10-09 23:40:46 +08:00
container :nested => "#{Utils.basename}/AX88772.dmg"
2016-01-06 23:02:53 +08:00
pkg "AX88772_v#{version.major_minor_patch}.pkg"
2014-11-22 22:12:36 +08:00
uninstall :script => { :executable => 'AX88772C_772B_772A_760_772_Uninstall_v130' }
end