summaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
blob: b1583019d8183b3cf5fbc49c8743148b102ba100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: alacritty # you probably want to 'snapcraft register <name>'
version: '0.2.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Modern, GPU accelerated terminal emulator # 79 char long summary
description: |
  Modern, GPU accelerated terminal emulator
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: classic # use 'strict' once you have the right plugs and slots
parts:
  alacritty:
    plugin: rust
    source: .
    stage-packages: [xclip]
    build-packages: [libfreetype6-dev, libfontconfig1-dev, cmake]
  desktop:
    plugin: dump
    source: .
    stage:
      - alacritty.desktop
apps:
  alacritty:
    command: env XDG_RUNTIME_DIR= XDG_CONFIG_HOME=$SNAP_USER_DATA XDG_DATA_DIRS=$SNAP_DATA PATH=$SNAP/bin:$PATH SNAP= alacritty
    desktop: alacritty.desktop