Switch to new download format

This commit is contained in:
2025-09-27 09:56:34 +03:00
parent f829617c1a
commit 13a6e8fb03
2 changed files with 7 additions and 10 deletions
+7 -2
View File
@@ -5,6 +5,11 @@ revision: 2
url: https://github.com/EnumeratedDev/enit url: https://github.com/EnumeratedDev/enit
license: MIT license: MIT
architecture: any architecture: any
dependencies: ["util-linux"] output_architecture: x86_64
make_dependencies: ["golang"]
type: source type: source
downloads:
- url: https://github.com/EnumeratedDev/enit.git
type: git
extract_to_bpm_source: true
git_branch: ${BPM_PKG_VERSION}
checksum: b77147434e76b456135f7c9662e9ab5fe35a1de7
-8
View File
@@ -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 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
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 # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {