Last active
November 18, 2015 15:54
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install with: