-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.anytype.anytype.yml
45 lines (45 loc) · 1.74 KB
/
io.anytype.anytype.yml
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
id: io.anytype.anytype
base: org.electronjs.Electron2.BaseApp
base-version: "24.08"
command: anytype
finish-args:
- --device=dri
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --talk-name=org.freedesktop.secrets
- --talk-name=org.freedesktop.Notifications
modules:
- name: anytype
buildsystem: simple
build-commands:
- ar -o -x anytype_amd64.deb
- tar --extract --file data.tar.xz
- cp --preserve --recursive opt/* usr/* /app
- desktop-file-edit --set-key Exec --set-value "/app/bin/anytype %U" /app/share/applications/anytype.desktop
- desktop-file-edit --set-key Icon --set-value "io.anytype.anytype" /app/share/applications/anytype.desktop
- install -D --mode 0644 --target-directory /app/share/metainfo/ io.anytype.anytype.metainfo.xml
- install -D --mode 0644 --target-directory /app/share/icons/hicolor/scalable/apps/ io.anytype.anytype.svg
- install -D --mode 0755 io.anytype.anytype.sh /app/bin/anytype
sources:
- type: file
dest-filename: anytype_amd64.deb
only-arches:
- x86_64
sha256: 787121034b7e0fb1374fd66f23f6543f1b5d88efac2a949a046d6ec3db4818b9
url: https://github.com/anyproto/anytype-ts/releases/download/v0.42.8/anytype_0.42.8_amd64.deb
- type: file
path: io.anytype.anytype.metainfo.xml
- type: file
path: io.anytype.anytype.svg
- type: script
commands:
- export TMPDIR="${XDG_RUNTIME_DIR}/app/${FLATPAK_ID}"
- exec zypak-wrapper /app/Anytype/anytype "$@"
dest-filename: io.anytype.anytype.sh
rename-desktop-file: anytype.desktop
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
separate-locales: false