Update package version to 4.48.1
This commit is contained in:
@@ -1,9 +1,17 @@
|
|||||||
name: yq
|
name: yq
|
||||||
description: A lightweight and portable command-line YAML processor
|
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
|
url: https://mikefarah.gitbook.io/yq
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libc"]
|
|
||||||
make_depends: ["golang"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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
|
# 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
|
# 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() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
GOFLAGS="-modcacherw" go mod vendor
|
GOFLAGS="-modcacherw" go mod vendor
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user