version.sub for gsub, improve regexp, eagle.rb

This commit is contained in:
Roland Walker 2014-12-26 12:14:16 -05:00
parent 11c2a38069
commit 530a49f5fe
1 changed files with 1 additions and 1 deletions

View File

@ -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