summaryrefslogtreecommitdiff
path: root/repo/fish
diff options
context:
space:
mode:
Diffstat (limited to 'repo/fish')
-rw-r--r--repo/fish/fish.xibuild29
1 files changed, 29 insertions, 0 deletions
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
+}