From 1feba4aeac221a3a2d04561d9f8e13b4c58b809c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 10 Oct 2025 16:21:43 +0300 Subject: [PATCH] Update package version to 0.400 --- pkg.info | 7 ++++++- source.sh | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 4d4b7c1..aa37a3c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,14 @@ name: hwdata description: Hardware identification and configuration data databases -version: "0.399" +version: "0.400" revision: 1 url: https://github.com/vcrhonek/hwdata license: GPL2-or-later architecture: any output_architecture: any type: source +downloads: + - url: https://github.com/vcrhonek/hwdata/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 05d96821aaae04be4e684eaf9ac22e08efe646321bc64be323b91b66e7e2095c diff --git a/source.sh b/source.sh index caeee71..181b22c 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/vcrhonek/hwdata/archive/refs/tags/v${BPM_PKG_VERSION}.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() {