-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.github.petebuffon.yafc.yml
33 lines (33 loc) · 1.31 KB
/
com.github.petebuffon.yafc.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
app-id: com.github.petebuffon.yafc
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: YAFC
finish-args:
- "--device=dri"
- "--socket=x11"
- "--share=ipc"
- "--filesystem=~/.factorio/mods:ro"
- "--filesystem=~/.steam/steam/steamapps/common/Factorio/data:ro"
- "--filesystem=~/.var/app/com.valvesoftware.Steam:ro"
- "--persist=.yafc"
modules:
- name: yafc
buildsystem: simple
build-commands:
- mkdir .yafc
- mkdir /app/bin
- tar xfvz yafc.tar.gz -C /app/bin
- install -Dp -m 644 com.github.petebuffon.yafc.desktop /app/share/applications/com.github.petebuffon.yafc.desktop
- install -Dp -m 644 com.github.petebuffon.yafc.appdata.xml /app/share/appdata/com.github.petebuffon.yafc.appdata.xml
- install -Dp -m 644 com.github.petebuffon.yafc-128.svg /app/share/icons/hicolor/scalable/apps/com.github.petebuffon.yafc.svg
sources:
- type: "file"
url: "https://github.com/petebuffon/yafc/releases/download/v0.6.0/yafc.tar.gz"
sha256: "0eb5edc0b6871922059815ae4fb52bf508ea3b443519996823ca62b19865af6d"
- type: "file"
path: "com.github.petebuffon.yafc.desktop"
- type: "file"
path: "com.github.petebuffon.yafc.appdata.xml"
- type: "file"
path: "com.github.petebuffon.yafc-128.svg"