blob: bc4908c9940249c6a0f5483d11818f2b3e4fd8be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}
|