Update package version to 4.48.1

This commit is contained in:
2025-10-16 17:11:00 +03:00
parent 666eb3ebf4
commit 4968b1dd53
2 changed files with 12 additions and 10 deletions
+11 -3
View File
@@ -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
+1 -7
View File
@@ -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
}