-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathde.sesu8642.feudaltactics.yaml
48 lines (47 loc) · 2.01 KB
/
de.sesu8642.feudaltactics.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
46
47
48
app-id: de.sesu8642.feudaltactics
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk17
command: feudaltactics
finish-args:
- --socket=x11
- --share=ipc
- --device=dri
- --env=PATH=/app/bin:/app/jre/bin:/usr/bin
- --filesystem=~/.prefs
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk17/install.sh
- name: feudaltactics
buildsystem: simple
build-commands:
- install -D feudaltactics-wrapper.sh /app/bin/feudaltactics
- install -D FeudalTactics-desktop.jar /app/data/FeudalTactics-desktop.jar
- install -D source/appstream/de.sesu8642.feudaltactics.appdata.xml /app/share/metainfo/de.sesu8642.feudaltactics.appdata.xml
- install -D source/appstream/de.sesu8642.feudaltactics.desktop /app/share/applications/de.sesu8642.feudaltactics.desktop
- install -D source/graphics/square_logo_512.png /app/share/icons/hicolor/512x512/apps/de.sesu8642.feudaltactics.png
sources:
- type: file
path: feudaltactics-wrapper.sh
- type: file
url: https://github.com/Sesu8642/FeudalTactics/releases/download/v1.3.1/FeudalTactics-desktop.jar
sha256: 8549d736cc42e37b13f180783af9b0f63bb1c636c6c66a7e3bfa648d54b30ede
x-checker-data:
type: json
url: https://api.github.com/repos/Sesu8642/FeudalTactics/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name=="FeudalTactics-desktop.jar") | .browser_download_url
- type: archive
url: https://api.github.com/repos/Sesu8642/FeudalTactics/tarball/v1.3.1
sha256: fa8bb97b3b53436d3e1536cafdae908ff0f8a14affa7bff71b755fa9a6bfb5cf
archive-type: tar-gzip
dest: source/
x-checker-data:
type: json
url: https://api.github.com/repos/Sesu8642/FeudalTactics/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .tarball_url