Update package version to 6.17.0

This commit is contained in:
2025-09-10 12:58:30 +03:00
parent 009809f109
commit 779fbd1934
3 changed files with 20 additions and 7 deletions
+4 -6
View File
@@ -15,17 +15,15 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd build
make DESTDIR="$BPM_OUTPUT" install
DESTDIR="$BPM_OUTPUT" cmake --install build
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING-CMAKE-SCRIPTS "$BPM_OUTPUT"/usr/share/licenses/extra-cmake-modules/COPYING-CMAKE-SCRIPTS
}