diff --git a/pkg.info b/pkg.info index 2304906..5f8c85c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,17 @@ name: efivar description: Tools and libraries to work with EFI variables -version: 39 -revision: 3 +version: "39" +revision: 4 url: https://github.com/rhboot/efivar license: LGPL2.1-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -make_depends: ["mandoc"] 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 diff --git a/source.sh b/source.sh index b04b17c..3a4a7a5 100644 --- a/source.sh +++ b/source.sh @@ -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://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 # This function is used to compile the source code build() {