From 76a1c724be90e08599df447b513db6dac91cf58a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 2 Jan 2026 12:55:44 +0200 Subject: [PATCH] Update package version to 0.9.2 --- pkg.info | 11 +++++++++-- source.sh | 8 +------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/pkg.info b/pkg.info index fe1b766..68b2b13 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,15 @@ name: libfyaml description: Fully feature complete YAML parser and emitter -version: 0.9 +version: 0.9.2 +revision: 1 url: https://github.com/pantoniou/libfyaml license: MIT architecture: any -depends: ["glibc"] type: source +depends: + - glibc +downloads: + - url: https://github.com/pantoniou/libfyaml/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 979be4f6ba463c6d1a5b0d25c780486ae09c78477228e0af9368690e90a95698 diff --git a/source.sh b/source.sh index 0b9d58a..0832bc7 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # 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/pantoniou/libfyaml/archive/refs/tags/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 +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" autoreconf -fi }