1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Adding snapcraft.yaml

Snapcraft makes Linux packaging very simple in a cross-distro
way. This adds the snapcraft.yaml file to setup a snap of
alacritty.
This commit is contained in:
Chris MacNaughton 2017-02-13 16:19:08 -06:00 committed by Joe Wilm
parent f12fd880fe
commit 01f1bcec9c
2 changed files with 31 additions and 0 deletions

9
.gitignore vendored
View file

@ -10,3 +10,12 @@ FlameGraph
# other ignores # other ignores
*.DS_Store *.DS_Store
=======
# Snapcraft files
stage
prime
parts
*.snap
*.pyc
alacritty_*_source.tar.bz2

22
snap/snapcraft.yaml Normal file
View file

@ -0,0 +1,22 @@
name: alacritty # you probably want to 'snapcraft register <name>'
version: '0.1.0' # 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 alacritty
desktop: Alacritty.desktop