diff --git a/fish.yaml b/fish.yaml new file mode 100644 index 00000000000..ae016e7744e --- /dev/null +++ b/fish.yaml @@ -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."