2024-10-27 14:31:11 -04:00
|
|
|
id: com.unprompted.tildefriends
|
|
|
|
runtime: org.freedesktop.Platform
|
|
|
|
runtime-version: '23.08'
|
|
|
|
sdk: org.freedesktop.Sdk
|
|
|
|
command: tildefriends-run.sh
|
|
|
|
finish-args:
|
|
|
|
- --share=network
|
2024-10-27 14:37:37 -04:00
|
|
|
- --filesystem=xdg-data/applications/tildefriends
|
2024-10-27 14:31:11 -04:00
|
|
|
modules:
|
|
|
|
- name: tildefriends
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- make release out/data.zip
|
|
|
|
- install -Dm755 out/release/tildefriends /app/bin/tildefriends
|
|
|
|
- install -D out/data.zip /app/share/data.zip
|
|
|
|
- install -Dm755 tildefriends-run.sh /app/bin/tildefriends-run.sh
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://dev.tildefriends.net/cory/tildefriends.git
|
|
|
|
dest: .
|
|
|
|
commit: main
|
|
|
|
- type: script
|
|
|
|
dest-filename: tildefriends-run.sh
|
|
|
|
commands:
|
2024-10-27 14:37:37 -04:00
|
|
|
- mkdir -p ~/.local/share/applications/tildefriends/
|
2024-10-27 14:31:11 -04:00
|
|
|
- exec tildefriends run -z /app/share/data.zip -d ~/.local/share/applications/tildefriends/db.sqlite
|