Skip to content

Instantly share code, notes, and snippets.

@mitio
Last active November 18, 2015 15:54
Show Gist options
  • Save mitio/f04423bbb8db288d85c1 to your computer and use it in GitHub Desktop.
Save mitio/f04423bbb8db288d85c1 to your computer and use it in GitHub Desktop.
A Homebrew bin formula to install Adobe Air SDK Flex version 19.0.0 build 199
# Find downloads at: https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
class AdobeAirSdkFlex < Formula
desc "Adobe AIR SDK & compiler"
homepage "https://www.adobe.com/devnet/air/air-sdk-download.html"
url "http://airdownload.adobe.com/air/mac/download/19.0/AdobeAIRSDK.tbz2"
version "19.0.0.199"
sha256 "c449ed15cd7722d53cd178c4095e0ce2f815b8f544bd40780a652e382156a1b4"
conflicts_with "adobe-air-sdk"
bottle :unneeded
def install
rm_f Dir["bin/*.bat"]
libexec.install Dir["*"]
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
def caveats; <<-EOS.undent
To set AIR_HOME:
export AIR_HOME=#{libexec}
EOS
end
test do
assert_equal "#{version}\n", shell_output("#{bin}/adt -version")
end
end
@mitio
Copy link
Author

mitio commented Nov 18, 2015

Install with:

brew install https://gist.github.com/mitio/f04423bbb8db288d85c1/raw/886a2ebeded626657440ae4c01af85213f2c1612/adobe-air-sdk-flex.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment