Skip to content

Commit

Permalink
Add eldeveloper-macfusion 2.1.1-dev.3 (new formula) (Homebrew#26986)
Browse files Browse the repository at this point in the history
  • Loading branch information
umireon authored and vitorgalvao committed Nov 22, 2016
1 parent e2d0b83 commit 5744ac4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Casks/eldeveloper-macfusion.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cask 'eldeveloper-macfusion' do
version '2.1.1-dev.3'
sha256 '3e6e356f36623dde805aa3de941e29f6256b02cfe0720bcbd70df4526e2a7198'

url "https://github.com/ElDeveloper/macfusion#{version.major}/releases/download/#{version}/Macfusion.zip"
appcast "https://github.com/ElDeveloper/macfusion#{version.major}/releases.atom",
checkpoint: '1d723f056dc494253c55c5fa83f3f679ea9c4b421b2a97b806a70c08470aae08'
name 'Macfusion'
homepage "https://github.com/ElDeveloper/macfusion#{version.major}/"

depends_on formula: 'homebrew/fuse/sshfs'

app 'Macfusion.app'

# fix broken bundled sshfs, see https://github.com/osxfuse/osxfuse/wiki/SSHFS#macfusion
postflight do
Dir.chdir("#{appdir}/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources") do
File.rename('sshfs-static', 'sshfs-static.orig')
File.symlink("#{HOMEBREW_PREFIX}/bin/sshfs", 'sshfs-static')
end
end
end

0 comments on commit 5744ac4

Please sign in to comment.