-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.kalbareader.Kalba.yml
35 lines (32 loc) · 1.75 KB
/
com.kalbareader.Kalba.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
id: com.kalbareader.Kalba
runtime: org.gnome.Platform
runtime-version: "46"
sdk: org.gnome.Sdk
command: kalba
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --share=ipc
# get definitions, articles etc
- --share=network
modules:
- name: kalba
buildsystem: simple
sources:
- type: file
url: https://github.com/BrewingWeasel/Kalba/releases/download/kalba-v0.3.5/Kalba_0.3.5_amd64.deb
sha256: 175e0f48c241080072e2bb496c13e8aaf7e95e337d3c6c5d219de862fe41ec39 # This is required if you are using a remote source
only-arches: [x86_64] #This source is only used on x86_64 Computers
dest-filename: Kalba.deb
# This path points to the binary file which was created in the .deb bundle.
# Tauri also creates a folder which corresponds to the content of the unpacked .deb.
build-commands:
- bsdtar -Oxf Kalba.deb 'data.tar.gz' | bsdtar -xf -
- install -Dm755 usr/bin/kalba /app/bin/kalba
- desktop-file-edit --add-category Languages --add-category Education --set-icon=com.kalbareader.Kalba usr/share/applications/kalba.desktop
- install -Dm644 usr/share/applications/kalba.desktop /app/share/applications/com.kalbareader.Kalba.desktop
- install -Dm644 usr/share/icons/hicolor/128x128/apps/kalba.png /app/share/icons/hicolor/128x128/apps/com.kalbareader.Kalba.png
- install -Dm644 usr/share/icons/hicolor/32x32/apps/kalba.png /app/share/icons/hicolor/32x32/apps/com.kalbareader.Kalba.png
- install -Dm644 usr/share/icons/hicolor/256x256@2/apps/kalba.png /app/share/icons/hicolor/256x256@2/apps/com.kalbareader.Kalba.png
- install -Dm644 usr/share/metainfo/com.kalbareader.Kalba.metainfo.xml /app/share/metainfo/com.kalbareader.Kalba.metainfo.xml