homebrew-cask/Casks/rtunic.rb

25 lines
809 B
Ruby
Raw Normal View History

cask 'rtunic' do
2016-09-27 23:20:58 +08:00
version '1.0.15'
sha256 '223fb9debbef27924927b0a15056411dd942818c2c0db6c1fb7159b9f25d4f84'
2016-07-04 20:40:40 +08:00
# d2c6jjk3vnoatm.cloudfront.net was verified as official when first introduced to the cask
2016-09-27 23:20:58 +08:00
url "https://d2c6jjk3vnoatm.cloudfront.net/spree/products/accessoies/484/0008-RTUNICv#{version}.zip"
name 'rtunic'
homepage 'https://www.anker.com/products/taxons/114/Connectivity'
pkg "RTUNICv#{version}/RTUNICv#{version}.pkg"
uninstall pkgutil: [
'com.realtek.usbeth109',
'com.realtek.usbethcomposite109',
],
kext: [
'com.realtek.driver.AppleRTL815XComposite',
'com.realtek.driver.AppleRTL815XEthernet',
]
caveats do
reboot
end
end