Update package version to 4.0.1
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
name: fish
|
name: fish
|
||||||
description: A smart and user-friendly command line shell
|
description: A smart and user-friendly command line shell
|
||||||
version: 3.7.1
|
version: 4.0.1
|
||||||
revision: 3
|
|
||||||
url: https://fishshell.com/
|
url: https://fishshell.com/
|
||||||
license: GPL2
|
license: GPL2,PSF2,MIT,LGPL2
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["pcre2"]
|
depends: ["glibc","gcc","ncurses","pcre2"]
|
||||||
make_depends: ["cmake"]
|
optional_depends: ["python3"]
|
||||||
|
make_depends: ["cmake","jq","rustc","expect","procps-ng"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -17,15 +17,16 @@ prepare() {
|
|||||||
build() {
|
build() {
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
cd build
|
cd build
|
||||||
make test
|
make fish_run_tests
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
@@ -33,5 +34,6 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
cd build
|
cd build
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user