cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / ax88179.rb
blob0cf0f82b0744f79bc241f3e727fff0f69f672b1a
1 cask :v1 => 'ax88179' do
2   version '2.3.0_20140929'
3   sha256 '269f233cd6fc70ba46dc11ae2bfac7aa4df019e193dededb1e1e56aba1aca699'
5   module Utils
6     def self.basename
7       "AX88179_178A_Macintosh_10.6_to_10.10_Driver_Installer_v#{Module.nesting.last.version}"
8     end
9   end
11   url "http://www.asix.com.tw/FrootAttach/driver/#{Utils.basename}.zip"
12   name 'AX88179'
13   homepage 'http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71'
14   license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
16   container :nested => "#{Utils.basename}/AX88179_178A.dmg"
17   pkg "AX88179_178A_v#{version[0..-10]}.pkg"
19   uninstall :script => { :executable => 'AX88179_178A_Uninstall_v140' }
20 end