Skip to content

Commit

Permalink
Merge pull request #12420 from EyeCantCU/fish
Browse files Browse the repository at this point in the history
feat(packages): Add fish shell
  • Loading branch information
jonjohnsonjr authored Feb 7, 2024
2 parents 62e7590 + 25ccf11 commit 7d599c5
Showing 1 changed file with 98 additions and 0 deletions.
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."

0 comments on commit 7d599c5

Please sign in to comment.