From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/fish/fish.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/fish/fish.xibuild (limited to 'repo/fish') diff --git a/repo/fish/fish.xibuild b/repo/fish/fish.xibuild new file mode 100644 index 0000000..bc4908c --- /dev/null +++ b/repo/fish/fish.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="fish" +DESC="Modern interactive commandline shell" + +MAKEDEPS="cmake " +DEPS="bc sbase pcre2-32 musl ncurses " + +PKG_VER=3.4.1 +SOURCE="https://github.com/fish-shell/fish-shell/releases/download/$PKG_VER/fish-$PKG_VER.tar.xz" + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} +check() { + cd build + ./fish_tests + cd .. +} + + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} -- cgit v1.2.1