-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.synology.synology-note-station.yaml
42 lines (42 loc) · 1.78 KB
/
com.synology.synology-note-station.yaml
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
# copied/inspired from https://github.com/flathub/com.synology.SynologyDrive/blob/master/com.synology.SynologyDrive.yaml
id: com.synology.synology-note-station
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: launch.sh
finish-args:
- --share=network
- --socket=x11
- --share=ipc
- --persist=.syno_ns_app
- --persist=.note_data
- --persist=.syno_ns_backup
modules:
- name: com.synology.synology-note-station
buildsystem: simple
sources:
- type: file
path: launch.sh
- type: file
path: com.synology.synology-note-station.metainfo.xml
- type: file
path: com.synology.synology-note-station.desktop
- type: file
path: icons/com.synology.synology-note-station-256.png
- type: extra-data
filename: synology-note-station.deb
only-arches: [ x86_64 ]
url: "https://global.synologydownload.com/download/Utility/NoteStationClient/2.2.4-703/Ubuntu/x86_64/synology-note-station-client-2.2.4-703-linux-x64.deb"
sha256: a4c763bddda21bd211b0c8afdcff7e72a3edddc2392470fec8ce8123a0531751
size: 108574130
- type: script
dest-filename: apply_extra
commands:
- bsdtar -Oxf synology-note-station.deb 'data.tar.*' | bsdtar -xf - --strip-components=3 --exclude='./usr'
- rm synology-note-station.deb
build-commands:
- install -D launch.sh /app/bin/launch.sh
- install -Dm644 com.synology.synology-note-station.desktop -t /app/share/applications
- install -Dm644 com.synology.synology-note-station.metainfo.xml -t /app/share/metainfo
- install -Dm644 com.synology.synology-note-station-256.png /app/share/icons/hicolor/256x256/apps/com.synology.synology-note-station.png
- install -D apply_extra -t /app/bin