aboutsummaryrefslogtreecommitdiff
path: root/packages/flatpak/BUILDING.md
blob: c1594b8fc182d012670f34f3250fc1fce394794f (plain)
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
# 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
```