Update package version to 4.0.1

This commit is contained in:
2025-03-13 22:13:11 +02:00
parent af5111d7fa
commit 6d09ed785b
2 changed files with 11 additions and 9 deletions
+6 -4
View File
@@ -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
}