homebrew-cask/Casks/bankid.rb

20 lines
421 B
Ruby

cask 'bankid' do
version :latest
sha256 :no_check
url 'https://install.bankid.com/FileDownloader?fileId=Mac'
name 'BankID'
homepage 'https://www.bankid.com/'
license :gratis
container type: :naked
pkg 'bankid-latest.pkg'
preflight do
system '/bin/mv', '--', staged_path.join('FileDownloader'), staged_path.join('bankid-latest.pkg')
end
uninstall pkgutil: 'com.bankid.bankid.BankID.pkg'
end