Switch to new download format and add maintainers field

This commit is contained in:
2026-02-09 16:26:58 +02:00
parent 2b17303551
commit 963c39d7fd
2 changed files with 11 additions and 13 deletions
+11 -3
View File
@@ -1,9 +1,17 @@
name: efivar name: efivar
description: Tools and libraries to work with EFI variables description: Tools and libraries to work with EFI variables
version: 39 version: "39"
revision: 3 revision: 4
url: https://github.com/rhboot/efivar url: https://github.com/rhboot/efivar
license: LGPL2.1-or-later license: LGPL2.1-or-later
maintainers:
- [email protected]
architecture: any architecture: any
make_depends: ["mandoc"]
type: source type: source
make_depends:
- mandoc
downloads:
- url: https://github.com/rhboot/efivar/archive/${BPM_PKG_VERSION}/efivar-${BPM_PKG_VERSINO}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6
-10
View File
@@ -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 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/rhboot/efivar/archive/${BPM_PKG_VERSION}/efivar-${BPM_PKG_VERSINO}.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 # 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() {