diff --git a/pkg.info b/pkg.info index dd57532..d8ee397 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,36 @@ name: graphviz description: Open source graph visualization software -version: 14.0.0 +version: 14.0.1 +revision: 1 url: https://www.graphviz.org/ license: EPL-1.0 architecture: any -depends: ["gd","ghostscript","librsvg","libtool","libwebp","pango"] -optional_depends: ["guile","lua","perl","python3","qt6-base","tcl","xterm"] -make_depends: ["cmake","guile","lua","perl","python3","qt6-base","swig"] type: source +depends: + - gd + - ghostscript + - librsvg + - libtool + - libwebp + - pango +optional_depends: + - guile + - lua + - perl + - python3 + - qt6-base + - tcl + - xterm +make_depends: + - cmake + - guile + - lua + - perl + - python3 + - qt6-base + - swig +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 diff --git a/source.sh b/source.sh index c1edb37..33924ba 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://gitlab.com/graphviz/graphviz/-/archive/${BPM_PKG_VERSION}/graphviz-${BPM_PKG_VERSION}.tar.bz2" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {