pollymc/packages/flatpak/BUILDING.md
dada513 d821ffb829
Flatpak & Debian Packaging (#4)
Flatpak & Debian packages
2021-12-28 10:45:04 -05:00

29 lines
621 B
Markdown

# Building the flatpak
### 1. Install tools
Install `flatpak` and `flatpak-builder` from your distribution repositories.
### 2. Install SDK
`flatpak install org.kde.Sdk org.kde.Platform`
Pick version `5.15`
### 3. Get the yml flatpak file
You can download it directly from github, or clone the repo.
### 4. Build it
```
flatpak-builder --ccache --force-clean flatbuild packages/flatpak/org.polymc.PolyMC.yml
```
If you didn't clone the repo, the path might be different.
### 5. Install the custom build
```
flatpak-builder --user --install --ccache --force-clean flatbuild packages/org.polymc.PolyMC.yml
```