diff --git a/pkg.info b/pkg.info index d8ee397..b678b9b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: graphviz description: Open source graph visualization software -version: 14.0.1 +version: 14.0.2 revision: 1 url: https://www.graphviz.org/ license: EPL-1.0 @@ -33,4 +33,4 @@ downloads: - url: https://gitlab.com/graphviz/graphviz/-/archive/${BPM_PKG_VERSION}/graphviz-${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: a969b754ecd9e25cc93b2d299cc03f573ff65c5d3595350fa22678c028b8de52 + checksum: 1c59acc6415b5baf5e39183e784397fd95a822d39516e1cfe261c846a87ddbe6 diff --git a/source.sh b/source.sh index 33924ba..9ef5199 100644 --- a/source.sh +++ b/source.sh @@ -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 }