From 12394487dd6d26407fdd6f99d9292da28cf9417a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 23 Oct 2025 20:05:28 +0300 Subject: [PATCH] Update package version to 2.15.1 --- pkg.info | 25 +++++++++++++++++++++---- source.sh | 10 ---------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index 4e29254..5ccca26 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,27 @@ name: libxml2 description: XML C parser and toolkit -version: 2.15.0 +version: 2.15.1 +revision: 1 url: https://gitlab.gnome.org/GNOME/libxml2 license: MIT architecture: any -depends: ["bash","glibc","icu","ncurses","readline","xz-utils","zlib"] -optional_depends: ["python3"] -make_depends: ["doxygen","meson","python3"] type: source +depends: + - bash + - glibc + - icu + - ncurses + - readline + - xz-utils + - zlib +optional_depends: + - python3 +make_depends: + - doxygen + - meson + - python3 +downloads: + - url: https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${BPM_PKG_VERSION}/libxml2-v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 0a5ebf8fa131585748d661ae692503483aff39d9b29b6c4b342cd80d422f246c diff --git a/source.sh b/source.sh index 47d1ce1..b4cae6c 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.gnome.org/GNOME/libxml2/-/archive/v${BPM_PKG_VERSION}/libxml2-v${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() {