-
Notifications
You must be signed in to change notification settings - Fork 2
/
top.bunqdesktop.Bunq.yaml
45 lines (45 loc) · 1.57 KB
/
top.bunqdesktop.Bunq.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
43
44
45
app-id: top.bunqdesktop.Bunq
base: org.electronjs.Electron2.BaseApp
base-version: '19.08'
runtime: org.freedesktop.Platform
runtime-version: '19.08'
sdk: org.freedesktop.Sdk
command: bunq
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --filesystem=xdg-download
modules:
- name: bunq
sources:
- type: script
dest-filename: bunq.sh
commands:
- exec env TMPDIR=$XDG_CACHE_HOME zypak-wrapper /app/bunqDesktop/bunqdesktop "$@"
- type: file
dest-filename: bunq.deb
only-arches:
- x86_64
url: https://github.com/bunqCommunity/bunqDesktop/releases/download/0.9.10/bunqDesktop-0.9.10-amd64.deb
sha256: 620b81621c8b841864bdd5d6a5841edbf6e67fb1603323445892ee9e8528704b
- type: file
path: top.bunqdesktop.Bunq.appdata.xml
- type: file
path: top.bunqdesktop.Bunq.desktop
- type: file
path: icons/256x256.png
- type: file
path: icons/512x512.png
buildsystem: simple
build-commands:
- install -D bunq.sh /app/bin/bunq
- install -Dm644 256x256.png /app/share/icons/hicolor/256x256/apps/top.bunqdesktop.Bunq.png
- install -Dm644 512x512.png /app/share/icons/hicolor/512x512/apps/top.bunqdesktop.Bunq.png
- install -Dm644 top.bunqdesktop.Bunq.appdata.xml -t /app/share/metainfo
- install -Dm644 top.bunqdesktop.Bunq.desktop -t /app/share/applications
- ar x bunq.deb
- tar xf data.tar.xz
- cp -r opt/* /app
- rm -rf bunq.deb control.tar.gz data.tar.xz debian-binary usr