aboutsummaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorChris MacNaughton <chris.macnaughton@canonical.com>2017-02-13 16:19:08 -0600
committerJoe Wilm <jwilm@users.noreply.github.com>2017-06-20 07:56:30 -0700
commit01f1bcec9cd6c54ffe42f3604e052f9c8aaba41e (patch)
tree1328dde54f200a1040f497d1743019232317856c /snap/snapcraft.yaml
parentf12fd880fe0b60de050aa23097df59237452a40c (diff)
downloadalacritty-01f1bcec9cd6c54ffe42f3604e052f9c8aaba41e.tar.gz
alacritty-01f1bcec9cd6c54ffe42f3604e052f9c8aaba41e.zip
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.
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 00000000..68c17c12
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -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 \ No newline at end of file