Update package version to 4.1.1

This commit is contained in:
2025-10-03 12:29:46 +03:00
parent 181f90af07
commit a4ef0a932a
2 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: fish name: fish
description: A smart and user-friendly command line shell description: A smart and user-friendly command line shell
version: 4.1.0 version: 4.1.1
revision: 1 revision: 1
url: https://fishshell.com/ url: https://fishshell.com/
license: GPL2,PSF2,MIT,LGPL2 license: GPL2,PSF2,MIT,LGPL2
@@ -23,4 +23,4 @@ downloads:
- url: https://github.com/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz - url: https://github.com/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz
extract_to_bpm_source: true extract_to_bpm_source: true
extract_strip_components: 1 extract_strip_components: 1
checksum: 07a76c67e161b9edc772e6f1d66ebead85d7056e86631d61577f9f9a529c4d9c checksum: aaf567cac98aa92fed9db3280801e2de45306169c8915e0fff1a61c07e56d2c1
+6 -10
View File
@@ -5,25 +5,21 @@
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
mkdir build cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Release -Wno-dev
cd build cmake --build build
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 make test
make fish_run_tests
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
cd build DESTDIR="$BPM_OUTPUT" cmake --install build
make DESTDIR="$BPM_OUTPUT" install
install -Dm 644 ../doc_src/license.rst "$BPM_OUTPUT"/usr/share/licenses/fish/license.rst # Install package license
install -Dm 644 "$BPM_SOURCE"/doc_src/license.rst "$BPM_OUTPUT"/usr/share/licenses/fish/license.rst
} }