homebrew-cask/Casks/git-annex.rb

24 lines
848 B
Ruby
Raw Normal View History

2013-11-25 07:50:26 +08:00
class GitAnnex < Cask
if MacOS.version < :mavericks
2013-11-25 07:50:26 +08:00
url 'http://downloads.kitenet.net/git-annex/OSX/current/10.8.2_Mountain_Lion/git-annex.dmg.bz2'
# This is a horrible hack to force the file extension. The
# backend code should be fixed so that this is not needed.
2014-09-09 20:55:27 +08:00
preflight do
system '/bin/mv', '--', destination_path.join('git-annex-latest'), destination_path.join('git-annex-latest.dmg')
end
nested_container 'git-annex-latest.dmg'
else
url 'http://downloads.kitenet.net/git-annex/OSX/current/10.9_Mavericks/git-annex.dmg'
2013-11-25 07:50:26 +08:00
end
homepage 'http://git-annex.branchable.com/'
2014-10-01 23:32:57 +08:00
license :unknown
2014-09-17 19:42:45 +08:00
version :latest
2014-05-08 20:51:31 +08:00
sha256 :no_check
2014-09-16 00:05:37 +08:00
app 'git-annex.app'
binary 'git-annex.app/Contents/MacOS/git-annex'
binary 'git-annex.app/Contents/MacOS/git-annex-shell'
caveats do
files_in_usr_local
2013-11-25 07:50:26 +08:00
end
end