homebrew-cask/Casks/p4v.rb

20 lines
659 B
Ruby
Raw Normal View History

2014-08-01 06:41:49 +08:00
class P4v < Cask
version '2014.1-888424'
if Hardware::CPU.is_32_bit?
sha256 '03b716dde2c39f4214c1b9b016e151225d8830e2e555b30234c5f9c1d2940a78'
2014-10-20 23:10:43 +08:00
url "http://filehost.perforce.com/perforce/r#{version.sub(%r{\A20(\d\d\.\d+).*},'\1')}/bin.macosx106x86/P4V.dmg"
else
2014-08-01 06:41:49 +08:00
sha256 'c5d05d78596fe9b4f83193a11805a027b2652fdf87365de1321e671286fdca3f'
2014-10-20 23:10:43 +08:00
url "http://filehost.perforce.com/perforce/r#{version.sub(%r{\A20(\d\d\.\d+).*},'\1')}/bin.macosx106x86_64/P4V.dmg"
2014-08-01 06:41:49 +08:00
end
homepage 'http://www.perforce.com/product/components/perforce-visual-client'
2014-10-01 23:33:33 +08:00
license :unknown
2014-08-01 06:41:49 +08:00
2014-09-16 00:06:05 +08:00
app 'p4v.app'
2014-08-01 06:41:49 +08:00
binary 'p4vc'
caveats 'p4merge is in a separate Cask'
2014-08-01 06:41:49 +08:00
end