diff --git a/pkg.info b/pkg.info index 16f16af..13af0bb 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,10 @@ name: fish description: A smart and user-friendly command line shell -version: 3.7.1 -revision: 3 +version: 4.0.1 url: https://fishshell.com/ -license: GPL2 +license: GPL2,PSF2,MIT,LGPL2 architecture: any -depends: ["pcre2"] -make_depends: ["cmake"] +depends: ["glibc","gcc","ncurses","pcre2"] +optional_depends: ["python3"] +make_depends: ["cmake","jq","rustc","expect","procps-ng"] type: source diff --git a/source.sh b/source.sh index 14cc6f2..b8a967a 100644 --- a/source.sh +++ b/source.sh @@ -17,15 +17,16 @@ prepare() { build() { mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc .. - make + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Release -Wno-dev .. + make VERBOSE=1 } # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { cd build - make test + make fish_run_tests } # The package function is executed in the source directory @@ -33,5 +34,6 @@ check() { package() { cd build make DESTDIR="$BPM_OUTPUT" install - install -Dm 644 ../COPYING "$BPM_OUTPUT"/usr/share/licenses/fish/COPYING + + install -Dm 644 ../doc_src/license.rst "$BPM_OUTPUT"/usr/share/licenses/fish/license.rst }