on org.mosh.mosh help sign in
flathub/org.mosh.mosh.json
109 lines 2.5 kB history raw
1{
2 "app-id": "org.mosh.mosh",
3 "runtime": "org.freedesktop.Platform",
4 "runtime-version": "19.08",
5 "sdk": "org.freedesktop.Sdk",
6 "command": "mosh",
7 "separate-locales": false,
8 "finish-args": [
9 "--share=network",
10 "--persist=.ssh"
11 ],
12 "cleanup": [
13 "*.a",
14 "*.la",
15 "/include",
16 "/lib/pkgconfig",
17 "/share/man"
18 ],
19 "modules": [
20 {
21 "name": "protobuf",
22 "sources": [
23 {
24 "type": "archive",
25 "url": "https://github.com/google/protobuf/releases/download/v3.8.0/protobuf-all-3.8.0.tar.gz",
26 "sha256": "b7220b41481011305bf9100847cf294393973e869973a9661046601959b2960b"
27 }
28 ],
29 "cleanup": [
30 "/bin/protoc"
31 ]
32 },
33 {
34 "name": "perl",
35 "no-autogen": true,
36 "config-opts": [
37 "-des"
38 ],
39 "cleanup": [
40 "/bin/perl5*",
41 "/bin/c2ph",
42 "/bin/corelist",
43 "/bin/cpan",
44 "/bin/enc2xs",
45 "/bin/encguess",
46 "/bin/h2*",
47 "/bin/instmodsh",
48 "/bin/json_pp",
49 "/bin/libnetcfg",
50 "/bin/perlbug",
51 "/bin/perldoc",
52 "/bin/perlivp",
53 "/bin/perlthanks",
54 "/bin/piconv",
55 "/bin/pl2pm",
56 "/bin/pod*",
57 "/bin/prove",
58 "/bin/pstruct",
59 "/bin/ptar*",
60 "/bin/shasum",
61 "/bin/splain",
62 "/bin/xsubpp",
63 "/bin/zipdetails",
64 "/lib/perl5/site_perl",
65 "/man",
66 "*.h",
67 "*.pod"
68 ],
69 "sources": [
70 {
71 "type": "archive",
72 "url": "https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz",
73 "sha256": "7e929f64d4cb0e9d1159d4a59fc89394e27fa1f7004d0836ca0d514685406ea8"
74 },
75 {
76 "type": "script",
77 "dest-filename": "configure",
78 "commands": [
79 "exec ./configure.gnu $@"
80 ]
81 }
82 ],
83 "post-install": [
84 "find /app/lib/perl5 -type f -exec chmod u+w {} \\;"
85 ]
86 },
87 {
88 "name": "mosh",
89 "config-opts": [
90 "--disable-server"
91 ],
92 "sources": [
93 {
94 "type": "archive",
95 "url": "https://mosh.org/mosh-1.3.2.tar.gz",
96 "sha256": "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
97 },
98 {
99 "type": "file",
100 "path": "org.mosh.mosh.appdata.xml"
101 }
102 ],
103 "post-install": [
104 "install -Dm644 org.mosh.mosh.appdata.xml /app/share/appdata/org.mosh.mosh.appdata.xml"
105 ]
106 }
107 ]