-
Notifications
You must be signed in to change notification settings - Fork 9
/
SonicPi.pkg.recipe
44 lines (42 loc) · 1.29 KB
/
SonicPi.pkg.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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 latest Sonic Pi app and builds a package.
For the ARCH_TYPE variable, please use Intel-Mac-x64 for Intel downloads and Mac-arm64 for Apple Silicon downloads.
If you need both the Intel and Apple Silicon versions of the app, override the recipe once for each kind and
change the value of NAME to include some reference to the architecture so that you can distinguish the packages
(e.g., set NAME to Sonic Pi Intel).</string>
<key>Identifier</key>
<string>com.github.aanklewicz.pkg.sonicpi</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Sonic Pi</string>
</dict>
<key>ParentRecipe</key>
<string>com.github.aanklewicz.download.sonicpi</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>AppDmgVersioner</string>
<key>Arguments</key>
<dict>
<key>dmg_path</key>
<string>%pathname%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>AppPkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
</dict>
</dict>
</array>
</dict>
</plist>