re-use version in jxplorer

This commit is contained in:
Roland Walker 2014-09-26 08:08:59 -04:00
parent 78f67d30a9
commit 253322b8c5
1 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@ class Jxplorer < Cask
version '3.3.1'
sha256 'b51995a93203590e6690d8ad54f73cd7af1c9f2bef6219adca79c58eda71d860'
url 'https://downloads.sourceforge.net/sourceforge/jxplorer/jxplorer/version%203.3.1/jxplorer-3.3.1-osx.zip'
url "https://downloads.sourceforge.net/sourceforge/jxplorer/jxplorer/version%20#{version}/jxplorer-#{version}-osx.zip"
homepage 'http://jxplorer.org'
app 'jxplorer-3.3.1.app'
app "jxplorer-#{version}.app"
postflight do
system '/bin/chmod', '--', 'a+x', "#{destination_path}/jxplorer-3.3.1.app/Contents/MacOS/jxplorer"
system '/bin/chmod', '--', 'a+x', "#{destination_path}/jxplorer-#{version}.app/Contents/MacOS/jxplorer"
end
end