1id: com.floatpane.matcha
2runtime: org.freedesktop.Sdk
3runtime-version: "23.08"
4sdk: org.freedesktop.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.golang
7
8command: matcha
9finish-args:
10 - --share=network
11 - --share=ipc
12 - --device=dri
13 - --filesystem=home
14
15modules:
16 - name: matcha
17 buildsystem: simple
18 build-options:
19 append-path: /usr/lib/sdk/golang/bin
20 env:
21 GOCACHE: /app/.cache/go-build
22 GOPATH: /app/.go
23 build-args:
24 - --share=network
25 build-commands:
26 - go build -o /app/bin/matcha .
27 - chmod -R u+w /app/.go /app/.cache
28 - rm -rf /app/.go /app/.cache
29
30 sources:
31 - type: dir
32 path: .