Update package version to 4.0.1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user