aboutsummaryrefslogtreecommitdiff
path: root/com.fishshell.fish/com.fishshell.fish.yml
blob: 71148c49ec652cec5a6e389e51cbcc3adeac915b (plain) (blame)
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
app-id: com.fishshell.fish
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: fish

finish-args:
  - --filesystem=host:rw
  - --socket=session-bus
  - --share=network
  - --persist=~/.config/fish
  - --env=__fish_sysconf_dir=/app/etc/fish

modules:
  - name: fish
    buildsystem: simple
    sources:
      - type: archive
        url: https://github.com/fish-shell/fish-shell/releases/download/3.5.0/fish-3.5.0.tar.xz
        sha256: 291e4ec7c6c3fea54dc1aed057ce3d42b356fa6f70865627b2c7dfcecaefd210
      - type: file
        path: ./fish_command_not_found.fish
    build-commands:
      - mkdir build
      - cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/app
      - cd build && make
      - cd build && make install
      - mkdir -p /app/etc/fish/conf.d
      - install -Dm755 fish_command_not_found.fish /app/etc/fish/conf.d/fish_command_not_found.fish