-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
47 lines (44 loc) · 1.11 KB
/
snapcraft.yaml
File metadata and controls
47 lines (44 loc) · 1.11 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: matcha
base: core22
adopt-info: matcha
summary: A beautiful and functional email client for your terminal.
description: |
A beautiful and functional email client for your terminal, built with Go and the charming Bubble Tea TUI library.
Never leave your command line to check your inbox or send an email again!
grade: stable
confinement: strict
architectures:
- build-on: [amd64]
build-for: [amd64]
- build-on: [arm64]
build-for: [arm64]
apps:
matcha:
command: bin/matcha
plugs:
- network
- home
parts:
matcha:
plugin: nil
source: .
build-snaps:
- go/1.26/stable
build-packages:
- gcc
- libc6-dev
- libpcsclite-dev
- pkg-config
build-environment:
- CGO_ENABLED: "1"
- GOBIN: ""
override-pull: |
craftctl default
if [ -f .nightly ]; then
version="nightlyv0"
else
version="$(git describe --tags --abbrev=0 --exclude='nightlyv*' 2>/dev/null | sed 's/^v//' || echo 0.1)"
fi
craftctl set version="$version"
override-build: |
go build -o "${CRAFT_PART_INSTALL}/bin/matcha" .