1 cask :v1 => 'git-annex' do
5 if MacOS.release <= :lion
6 url 'https://downloads.kitenet.net/git-annex/OSX/current/10.7.5_Lion/git-annex.dmg'
7 elsif MacOS.release == :mountain_lion
8 url 'https://downloads.kitenet.net/git-annex/OSX/current/10.8.2_Mountain_Lion/git-annex.dmg.bz2'
10 # This is a horrible hack to force the file extension. The
11 # backend code should be fixed so that this is not needed.
13 system '/bin/mv', '--', staged_path.join('git-annex-latest'), staged_path.join('git-annex-latest.dmg')
15 container :nested => 'git-annex-latest.dmg'
16 elsif MacOS.release == :mavericks
17 url 'https://downloads.kitenet.net/git-annex/OSX/current/10.9_Mavericks/git-annex.dmg'
19 url 'https://downloads.kitenet.net/git-annex/OSX/current/10.10_Yosemite/git-annex.dmg'
23 :key_url => 'https://downloads.kitenet.net/git-annex/gpg-pubkey.asc'
24 homepage 'http://git-annex.branchable.com/'
25 license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
28 binary 'git-annex.app/Contents/MacOS/git-annex'
29 binary 'git-annex.app/Contents/MacOS/git-annex-shell'
31 uninstall :launchctl => 'com.branchable.git-annex.assistant'
33 depends_on :macos => %w{