diff --git a/pkg.info b/pkg.info index 478ccd3..aa6370d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,21 @@ name: meson description: The Meson build system -version: 1.9.0 +version: 1.9.1 +revision: 1 url: https://mesonbuild.com/ license: Apache2 architecture: any -depends: ["ninja","python3"] -make_depends: ["python-build","python-installer","python-setuptools","python-wheel"] type: source +depends: + - ninja + - python3 +make_depends: + - python-build + - python-installer + - python-setuptools + - python-wheel +downloads: + - url: https://github.com/mesonbuild/meson/releases/download/${BPM_PKG_VERSION}/meson-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 4e076606f2afff7881d195574bddcd8d89286f35a17b4977a216f535dc0c74ac diff --git a/source.sh b/source.sh index 3048477..641f1d7 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://github.com/mesonbuild/meson/releases/download/${BPM_PKG_VERSION}/meson-${BPM_PKG_VERSION}.tar.gz" -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() {