version.sub for gsub, improve regexp, eagle.rb
This commit is contained in:
parent
11c2a38069
commit
530a49f5fe
|
@ -2,7 +2,7 @@ cask :v1 => 'eagle' do
|
|||
version '7.2.0'
|
||||
sha256 '9cae311072d8be5a16631ce08d9e0653bdc21e336cc90df2463d7df35521ff2a'
|
||||
|
||||
url "ftp://ftp.cadsoft.de/eagle/program/#{version.gsub(/\.\d$/, '')}/eagle-mac-#{version}.zip"
|
||||
url "ftp://ftp.cadsoft.de/eagle/program/#{version.sub(/\.\d+$/, '')}/eagle-mac-#{version}.zip"
|
||||
homepage 'http://www.cadsoftusa.com/'
|
||||
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
||||
|
||||
|
|
Loading…
Reference in New Issue