Switch to new download format
This commit is contained in:
@@ -9,4 +9,9 @@ depends: ["bash"]
|
|||||||
make_depends: ["golang","git"]
|
make_depends: ["golang","git"]
|
||||||
optional_depends: ["fakeroot"]
|
optional_depends: ["fakeroot"]
|
||||||
keep: ["etc/bpm.conf","etc/bpm-compilation.conf"]
|
keep: ["etc/bpm.conf","etc/bpm-compilation.conf"]
|
||||||
|
downloads:
|
||||||
|
- url: "https://github.com/EnumeratedDev/bpm/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz"
|
||||||
|
extract_to_bpm_source: true
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: b0f3859864f410aa1253799387896140f5e19062a4017765c8c4dbb2277b9952
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -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/bpm.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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user