diff --git a/pkg.info b/pkg.info index e869695..b6c184a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: linux-firmware description: Base source package for all linux firmware files -version: "20250917" +version: "20251011" revision: 1 url: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git license: See /usr/share/licenses/linux-firmware/ @@ -9,6 +9,11 @@ output_architecture: any type: source make_depends: - rdfind +downloads: + - url: https://gitlab.com/kernel-firmware/linux-firmware/-/archive/${BPM_PKG_VERSION}/linux-firmware-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 1b0f074e4bb773ddb6f3d4e2d50dd623474b67135e6fe39fec212e433d66790c split_packages: - name: linux-firmware-whence description: Origin and licensing information for linux firmware diff --git a/source.sh b/source.sh index e4cde57..84178b2 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://gitlab.com/kernel-firmware/linux-firmware/-/archive/${BPM_PKG_VERSION}/linux-firmware-${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" -} - build() { # Create temporary directory for firmware installation install -dm755 "$BPM_SOURCE"/temp