Fish Terminal
This commit is contained in:
1 parent
2bb5dfd655
commit
885045e7ac
1 file changed
+44
@@ -0,0 +1,44 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='fish'
|
||||||
|
release='1'
|
||||||
|
version='3.6.1'
|
||||||
|
url='https://fishshell.com/'
|
||||||
|
description='Smart and user friendly shell intended mostly for interactive use'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv2')
|
||||||
|
source=("https://github.com/fish-shell/fish-shell/releases/download/${version}/fish-${version}.tar.xz")
|
||||||
|
depends=(ncurses libpcre2 gettext)
|
||||||
|
makedepends=(cmake python)
|
||||||
|
md5sums=('b721bbff7adc221f4e77b44404727026')
|
||||||
|
group=(app.shells)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
#export CXXFLAGS+=" ${CPPFLAGS}"
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
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 \
|
||||||
|
-DFISH_USE_SYSTEM_PCRE2=false
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cmake --build build --target all fish_tests
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
rm -fr "$DESTDIR"/usr/share/$name/groff
|
||||||
|
|
||||||
|
mkdir -p "$DESTDIR"/usr/lib
|
||||||
|
mv "$DESTDIR"/usr/share/pkgconfig "$DESTDIR"/usr/lib
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user