Update package version to 1.25.2
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
name: golang
|
||||
description: The GO programming language
|
||||
version: 1.25.1
|
||||
version: 1.25.2
|
||||
revision: 1
|
||||
url: https://go.dev/
|
||||
license: BSD-3-Clause
|
||||
architecture: any
|
||||
make_depends: ["golang"]
|
||||
type: source
|
||||
make_depends:
|
||||
- golang
|
||||
downloads:
|
||||
- url: https://go.dev/dl/go${BPM_PKG_VERSION}.src.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 3711140cfb87fce8f7a13f7cd860df041e6c12f7610f40cac6ec6fa2b65e96e4
|
||||
|
||||
@@ -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://go.dev/dl/go${BPM_PKG_VERSION}.src.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
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user