Skip to content

Commit

Permalink
fix: include terminfo for multiple terminals
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
jnsgruk committed Feb 23, 2024
1 parent d2a6612 commit f5754bb
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ apps:
mutt:
environment:
HOME: "$SNAP_USER_COMMON"
TERMINFO_DIRS: $SNAP/lib/terminfo:$SNAP/usr/share/terminfo
command: usr/local/bin/mutt
plugs:
- network
Expand Down Expand Up @@ -103,13 +104,33 @@ parts:
stage:
- -usr/local/bin/mutt_dotlock
stage-packages:
- vim-tiny
- vim
- nano
- emacs-nox
- libassuan0
- libgpgme11
- libgpm2
- libidn12
- libsasl2-2
- libtokyocabinet9
- locales-all
- nano
- vim
- vim-tiny

terminfos:
plugin: nil
override-pull: |
curl -so alacritty.info https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info
build-packages:
- wget
stage-packages:
- ncurses-bin
- ncurses-base
- terminfo
- foot-terminfo
- kitty-terminfo
override-stage: |
craftctl default
ls -la
tic -xe alacritty,alacritty-direct $CRAFT_PART_SRC/alacritty.info -o .
mkdir -p $CRAFT_PRIME/lib/terminfo/a/
cp a/alacritty* $CRAFT_PRIME/lib/terminfo/a/

0 comments on commit f5754bb

Please sign in to comment.