From 3dfe890401508b00cfd00f921f09aefd0037a4d3 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 15 Nov 2025 11:45:27 +0200 Subject: [PATCH] Update package version to 6.20.0 --- pkg.info | 7 ++++++- source.sh | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 26bf52e..bc02d01 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: extra-cmake-modules description: Extra modules and scripts for CMake -version: 6.19.0 +version: 6.20.0 revision: 1 url: https://community.kde.org/Frameworks license: BSD-3-Clause @@ -9,3 +9,8 @@ output_architecture: any type: source depends: - cmake +downloads: + - url: https://download.kde.org/stable/frameworks/${BPM_PKG_VERSION%.*}/extra-cmake-modules-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 3711de8572db5da618efe3f28cc094ca25a1abb0bddffc63dced12c4f8caae5f diff --git a/source.sh b/source.sh index 2debf1b..85ecdc1 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://download.kde.org/stable/frameworks/${BPM_PKG_VERSION%.*}/extra-cmake-modules-${BPM_PKG_VERSION}.tar.xz" -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() {