homebrew-cask/Casks/jabref.rb

26 lines
1.2 KiB
Ruby

cask 'jabref' do
version '4.2'
sha256 '2f00ff13cca7e4d780cc365426b06a01384268394d2d2fa476655968acf55eba'
# github.com/JabRef/jabref was verified as official when first introduced to the cask
url "https://github.com/JabRef/jabref/releases/download/v#{version}/JabRef_macos_#{version.dots_to_underscores}.dmg"
appcast 'https://github.com/JabRef/jabref/releases.atom',
checkpoint: 'e03551ded048dcdbfd73ae376dfcfd9b9bfade9fc0e21b47f8d41ed0f633bc68'
name 'JabRef'
homepage 'https://www.jabref.org/'
installer script: {
executable: 'JabRef Installer.app/Contents/MacOS/JavaApplicationStub',
args: [
'-q',
'-VcreateDesktopLinkAction$Boolean=false',
'-VaddToDockAction$Boolean=false',
'-VshowFileAction$Boolean=false',
'-Vsys.installationDir=/Applications',
'-VexecutionLauncherAction$Boolean=false',
],
}
uninstall delete: '/Applications/JabRef.app'
end