forked from farribeiro/irpf-flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbr.gov.rfb.irpf.yml
38 lines (38 loc) · 1.07 KB
/
br.gov.rfb.irpf.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
app-id: br.gov.rfb.irpf
branch: stable
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk-extensions: org.freedesktop.Sdk.Extension.openjdk11
sdk: org.freedesktop.Sdk
command: /app/irpf.sh
modules:
- name: irpf
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk11/install.sh
- sh install.sh
- install -D br.gov.rfb.irpf.desktop /app/share/applications/br.gov.rfb.irpf.desktop
sources:
- type: archive
url: https://downloadirpf.receita.fazenda.gov.br/irpf/2021/irpf/arquivos/IRPF2021-1.2.zip
sha256: bcc056d940581a4d6be396633bb87b421dc04c96146f174a3add497f3a1adafa
- type: file
path: irpf.sh
- type: file
path: install.sh
- type: file
path: br.gov.rfb.irpf.desktop
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# Wayland access
- --socket=wayland
# Needs to talk to the network:
- --share=network
# Needs to save files locally
- --filesystem=xdg-documents
- --filesystem=home
- --env=PATH=$PATH:/app/jre/bin:/usr/bin
# cleanup:
# - '/IRPF2021'