Last change
on this file was 97, checked in by chronos, 6 months ago |
- Modified: Specific flatpak yml file for flathub.
|
-
Property svn:executable
set to
*
|
File size:
724 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -x
|
---|
3 |
|
---|
4 | BUILD_DIR=build
|
---|
5 | REPO_DIR=repo
|
---|
6 | FLATPAK_ID=net.zdechov.app.Tunneler
|
---|
7 |
|
---|
8 | # Install dependencies
|
---|
9 | flatpak install flathub org.kde.Sdk//5.15-23.08
|
---|
10 | flatpak install flathub org.kde.Platform//5.15-23.08
|
---|
11 | flatpak install flathub org.freedesktop.Sdk.Extension.freepascal//23.08
|
---|
12 | flatpak install flathub org.flatpak.Builder
|
---|
13 |
|
---|
14 | # Build
|
---|
15 | flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=$REPO_DIR $BUILD_DIR $FLATPAK_ID.yml
|
---|
16 |
|
---|
17 | # Run
|
---|
18 | flatpak run $FLATPAK_ID
|
---|
19 |
|
---|
20 | # Linter
|
---|
21 | flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest $FLATPAK_ID.yml
|
---|
22 | flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo $REPO_DIR
|
---|
Note:
See
TracBrowser
for help on using the repository browser.