main.sh
· 435 B · Bash
Исходник
#! /usr/bin/env bash
# build deps
sudo apt install meson libelf-dev
# get source
git clone git@github.com:flatpak/flatpak-builder.git
cd flatpak-builder
# from repo instructions, build
meson setup _build
# if you get an error about appstream
/usr/bin/appstreamcli compose --help
# that should instruct you to
sudo appstreamcli install org.freedesktop.appstream.compose
# from repo instructions, install
meson install -C _build
| 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 |