Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
105 lines (104 sloc) 2.72 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of Oracle Java 8 JDK and creates a package.</string>
<key>Identifier</key>
<string>com.github.novaksam.pkg.OracleJava8JDK</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Oracle Java 8 JDK</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.hansen-m.download.OracleJava8JDK</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Oracle America, Inc. (VB5E2TV963)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%/*.pkg</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/downloads/UNPACK</string>
<key>flat_pkg_path</key>
<string>%pathname%/*.pkg</string>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pattern</key>
<string>%RECIPE_CACHE_DIR%/downloads/UNPACK/jdk*.pkg</string>
</dict>
<key>Processor</key>
<string>FileFinder</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/downloads/PAYLOAD</string>
<key>pkg_payload_path</key>
<string>%found_filename%/Payload</string>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/downloads/PAYLOAD/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleVersion</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
<key>source_pkg</key>
<string>%pathname%/*.pkg</string>
</dict>
<key>Processor</key>
<string>PkgCopier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/downloads/UNPACK</string>
<string>%RECIPE_CACHE_DIR%/downloads/PAYLOAD</string>
</array>
</dict>
<key>Comment</key>
<string>Gotta clean up after myself!</string>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
</array>
</dict>
</plist>
You can’t perform that action at this time.