cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / bankid.rb
blob0d1315ee187401a43dbb3a27aaddddf9ba2dfb83
1 cask :v1 => 'bankid' do
2   version :latest
3   sha256 :no_check
5   url 'https://install.bankid.com/FileDownloader?fileId=Mac'
6   name 'BankID'
7   homepage 'http://www.bankid.com/'
8   license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
10   container :type => :naked
11   preflight do
12     system '/bin/mv', '--', staged_path.join('FileDownloader'), staged_path.join('bankid-latest.pkg')
13   end
15   pkg 'bankid-latest.pkg'
17   uninstall :pkgutil => 'com.bankid.bankid.BankID.pkg'
18 end