Switch to new download format
This commit is contained in:
@@ -5,6 +5,11 @@ revision: 2
|
||||
url: https://github.com/EnumeratedDev/enit
|
||||
license: MIT
|
||||
architecture: any
|
||||
dependencies: ["util-linux"]
|
||||
make_dependencies: ["golang"]
|
||||
output_architecture: x86_64
|
||||
type: source
|
||||
downloads:
|
||||
- url: https://github.com/EnumeratedDev/enit.git
|
||||
type: git
|
||||
extract_to_bpm_source: true
|
||||
git_branch: ${BPM_PKG_VERSION}
|
||||
checksum: b77147434e76b456135f7c9662e9ab5fe35a1de7
|
||||
|
||||
@@ -2,14 +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
|
||||
|
||||
REPO="https://github.com/EnumeratedDev/enit.git"
|
||||
|
||||
# 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() {
|
||||
git clone --depth 1 --branch "${BPM_PKG_VERSION}" "$REPO" "$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