Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(packages): Add fish shell #12420

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions fish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Generated from https://git.alpinelinux.org/aports/plain/main/fish/APKBUILD
package:
name: fish
version: 3.7.0
epoch: 0
description: Modern interactive commandline shell
copyright:
- license: GPL-2.0-only
dependencies:
runtime:
- bc

environment:
contents:
packages:
- bc
- build-base
- busybox
- ca-certificates-bundle
- cmake
- doxygen
- gettext-dev
- ncurses
- ncurses-dev
- pcre2-dev
- py3-alabaster
- py3-babel
- py3-docutils
- py3-imagesize
- py3-jinja2
- py3-packaging
- py3-pygments
- py3-requests
- py3-snowballstemmer
- py3-sphinx
- py3-sphinxcontrib-applehelp
- py3-sphinxcontrib-devhelp
- py3-sphinxcontrib-htmlhelp
- py3-sphinxcontrib-packages
- py3-sphinxcontrib-qthelp
- py3-sphinxcontrib-serializinghtml
- samurai

pipeline:
- uses: git-checkout
with:
repository: https://github.com/fish-shell/fish-shell
tag: ${{package.version}}
expected-commit: 0e4d088b116f8455ed604be117ea78831b2cdfc5

- runs: |
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DBUILD_DOCS=TRUE
cmake --build build
DESTDIR="${{targets.destdir}}" cmake --install build
- uses: strip

subpackages:
- name: fish-dev
dependencies:
runtime:
- fish
- fish-tools
- bc
pipeline:
- uses: split/dev
description: fish dev

- name: fish-doc
dependencies:
runtime:
- fish
pipeline:
- uses: split/manpages
description: fish manpages

- name: fish-tools
dependencies:
runtime:
- fish
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/share/${{package.name}}
mv ${{targets.destdir}}/usr/share/${{package.name}}/tools ${{targets.subpkgdir}}/usr/share/${{package.name}}/
description: fish (tools)

update:
enabled: true
github:
identifier: fish-shell/fish-shell
use-tag: true
tag-filter: "3."
Loading