about summary refs log tree commit diff stats
path: root/net.iotib.Pong.yml
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-05 21:17:35 -0400
committerCharadon <dev@iotib.net>2022-06-05 21:17:35 -0400
commit7af1c3fa647ccf0fa9b48098a3ef0fc4b3a3e610 (patch)
tree1d139c2299a324db66d84a2320539622b7b81cee /net.iotib.Pong.yml
parent4e62b4d5cb2d68774a45688089b89c57825c7e0b (diff)
downloadPong-C-7af1c3fa647ccf0fa9b48098a3ef0fc4b3a3e610.tar.gz
Updated flatpak file
Diffstat (limited to 'net.iotib.Pong.yml')
-rw-r--r--net.iotib.Pong.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/net.iotib.Pong.yml b/net.iotib.Pong.yml
index 41051b4..7a6e81d 100644
--- a/net.iotib.Pong.yml
+++ b/net.iotib.Pong.yml
@@ -4,19 +4,24 @@ appdata-license: 'GPL-3.0-only'
 runtime: org.freedesktop.Platform
 runtime-version: '21.08'
 sdk: org.freedesktop.Sdk
-command: launch.sh
+command: flatpak_launch.sh
 modules:
   - name: Pong
     buildsystem: simple
-    config-opts:
-      - premake5 --prefix=/app --flatpak=true gmake2
+    build-commands:
+      - make -C raylib/src clean
+      - make -C raylib/src
       - make
-      - premake5 install
+      - mkdir -pv /app/Pong
+      - mkdir -pv /app/bin
+      - install -Dvm755 bin/*/Pong /app/Pong/pong
+      - install -Dvm755 src/flatpak_launch.sh /app/bin/flatpak_launch.sh
+      - cp -rv resources /app/Pong/
     sources:
       - type: file
-        path: meson.build
+        path: Makefile
       - type: file
-        path: meson_options.txt
+        path: Pong.make
       - type: dir
         path: src
         dest: src