Skip to content

Instantly share code, notes, and snippets.

@Honestpuck
Created June 10, 2020 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Honestpuck/8e2c4e36f7a9928ef3849ad234adbe70 to your computer and use it in GitHub Desktop.
Save Honestpuck/8e2c4e36f7a9928ef3849ad234adbe70 to your computer and use it in GitHub Desktop.
Autopkg recipe override with custom processor
<?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>Identifier</key>
<string>local.pkg.Abstract</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Abstract</string>
</dict>
<key>ParentRecipe</key>
<string>com.github.dataJAR-recipes.pkg.Abstract</string>
<key>ParentRecipeTrustInfo</key>
<dict>
<key>non_core_processors</key>
<dict/>
<key>parent_recipes</key>
<dict>
<key>com.github.dataJAR-recipes.download.Abstract</key>
<dict>
<key>git_hash</key>
<string>307367f4291653873cb643e1a37660a7a919b716</string>
<key>path</key>
<string>~/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/Abstract/Abstract.download.recipe</string>
<key>sha256_hash</key>
<string>b9dfab745c6a08c79d6b7d9f8d62dd813a29b368503e065f80ccb859a5fe2ba8</string>
</dict>
<key>com.github.dataJAR-recipes.pkg.Abstract</key>
<dict>
<key>git_hash</key>
<string>6e3ce6ea55174a82101f629b0e0903b0510d4486</string>
<key>path</key>
<string>~/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/Abstract/Abstract.pkg.recipe</string>
<key>sha256_hash</key>
<string>87c341b82ba7654083e19c7b5cac31fe5a7466b0a6b75d591fdf8228891d91bb</string>
</dict>
</dict>
</dict>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
</dict>
<key>Processor</key>
<string>JPCImporter</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment