-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathKaleidoscope.pkg.recipe
93 lines (93 loc) · 2.28 KB
/
Kaleidoscope.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?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 current release version of Kaleidoscope and creates a package.</string>
<key>Identifier</key>
<string>io.github.hjuutilainen.pkg.Kaleidoscope</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Kaleidoscope</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>io.github.hjuutilainen.download.Kaleidoscope</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>PkgRootCreator</string>
<key>Arguments</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Comment</key>
<string>Get version from the app</string>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pkgroot%/Applications/Kaleidoscope.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>pkgname</key>
<string>%NAME%-%version%</string>
<key>version</key>
<string>%version%</string>
<key>id</key>
<string>com.blackpixel.kaleidoscope</string>
<key>options</key>
<string>purge_ds_store</string>
<key>scripts</key>
<string>scripts</string>
<key>chown</key>
<array>
<dict>
<key>path</key>
<string>Applications</string>
<key>user</key>
<string>root</string>
<key>group</key>
<string>admin</string>
</dict>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>