From a0cb267f5ad45dc2e747c0be1e884e2d6e5dfa2c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 23 Oct 2025 20:10:06 +0300 Subject: [PATCH] Update package version to 10.47 --- pkg.info | 17 ++++++++++++++--- source.sh | 10 ---------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 7dae241..45cacc8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,20 @@ name: pcre2 description: that implement regular expression pattern matching using the same syntax and semantics as Perl 5 (Version 2) -version: 10.46 +version: "10.47" +revision: 1 url: https://github.com/PCRE2Project/pcre2 license: BSD-3-Clause architecture: any -depends: ["bzip2","glibc","readline","zlib"] -optional_depends: ["sh"] type: source +depends: + - bzip2 + - glibc + - readline + - zlib +optional_depends: + - sh +downloads: + - url: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${BPM_PKG_VERSION}/pcre2-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16 diff --git a/source.sh b/source.sh index 36cddc4..e13bd39 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/PCRE2Project/pcre2/releases/download/pcre2-${BPM_PKG_VERSION}/pcre2-${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() {