-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12420 from EyeCantCU/fish
feat(packages): Add fish shell
- Loading branch information
Showing
1 changed file
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |