From 4968b1dd531772593238316ab42138f804169be1 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 16 Oct 2025 17:11:00 +0300 Subject: [PATCH] Update package version to 4.48.1 --- pkg.info | 14 +++++++++++--- source.sh | 8 +------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index a46bd3c..50e31d5 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,17 @@ name: yq description: A lightweight and portable command-line YAML processor -version: 4.47.2 +version: 4.48.1 +revision: 1 url: https://mikefarah.gitbook.io/yq license: MIT architecture: any -depends: ["libc"] -make_depends: ["golang"] type: source +depends: + - libc +make_depends: + - golang +downloads: + - url: https://github.com/mikefarah/yq/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 591158368f8155421bd8821754a67b4478ee2cde205b7abfbf2d50f90769cf0e diff --git a/source.sh b/source.sh index d6e7ece..4ed6f9d 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/mikefarah/yq/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" GOFLAGS="-modcacherw" go mod vendor }