forked from getzola/zola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.getzola.zola.yml
33 lines (30 loc) · 899 Bytes
/
org.getzola.zola.yml
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
29
30
31
32
33
app-id: org.getzola.zola
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: zola
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/zola/cargo
finish-args:
- --share=network
- --filesystem=home
modules:
- name: zola
buildsystem: simple
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml --verbose
- cargo --offline build --release --verbose
- install -Dm755 ./target/release/zola -t /app/bin/
- install -D ./zola.appdata.xml $FLATPAK_DEST/share/metainfo/org.getzola.zola.appdata.yml
sources:
- type: git
url: https://github.com/getzola/zola.git
tag: v0.14.0
disable-submodules: true
- type: file
path: ./zola.appdata.xml
- cargo-sources.json