Update package version to 14.0.2

This commit is contained in:
2025-10-23 19:23:50 +03:00
parent b244a7e909
commit a6ebe285d9
2 changed files with 5 additions and 10 deletions
+3 -8
View File
@@ -5,19 +5,14 @@
# 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 -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON ..
cmake --build .
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON
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
DESTDIR="$BPM_OUTPUT" cmake --install .
DESTDIR="$BPM_OUTPUT" cmake --install build
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/graphviz/LICENSE
}