| 1 | #! /usr/bin/env bash |
| 2 | |
| 3 | # build deps |
| 4 | sudo apt install meson libelf-dev |
| 5 | |
| 6 | # get source |
| 7 | git clone git@github.com:flatpak/flatpak-builder.git |
| 8 | cd flatpak-builder |
| 9 | |
| 10 | # from repo instructions, build |
| 11 | meson setup _build |
| 12 | # if you get an error about appstream |
| 13 | /usr/bin/appstreamcli compose --help |
| 14 | # that should instruct you to |
| 15 | sudo appstreamcli install org.freedesktop.appstream.compose |
| 16 | # from repo instructions, install |
| 17 | meson install -C _build |
flatpak-builder from source on Pop!_OS 22.04