Created
June 12, 2023 18:42
-
-
Save pyther/0717b5696f13c5526fd506030062300c to your computer and use it in GitHub Desktop.
Slack.pkg.recipe.yaml
This file contains 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
--- | |
Description: Downloads the latest Slack disk image and builds a package | |
Identifier: org.example.autopkg.pkg.slack | |
Input: | |
NAME: Slack | |
PKG_ID: com.tinyspeck.slackmacgap | |
MinimumVersion: "2.3" | |
ParentRecipe: org.example.autopkg.download.slack | |
Process: | |
- Processor: PkgRootCreator | |
Arguments: | |
pkgroot: "%RECIPE_CACHE_DIR%/%NAME%" | |
pkgdirs: | |
Applications: "0755" | |
- Processor: Copier | |
Arguments: | |
source_path: "%pathname%/Slack.app" | |
destination_path: "%pkgroot%/Applications/Slack.app" | |
- Processor: AppDmgVersioner | |
Arguments: | |
dmg_path: "%pathname%" | |
- Processor: PkgCreator | |
Arguments: | |
pkg_request: | |
pkgname: "%NAME%-%version%" | |
pkgdir: "%RECIPE_CACHE_DIR%" | |
id: "%PKG_ID%" | |
options: purge_ds_store | |
chown: | |
- path: Applications | |
user: root | |
group: admin% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment