From 50c7524a2aea6e566cd3dbafb45b5ac7be412aa4 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 1 Nov 2025 10:06:23 +0200 Subject: [PATCH] Update package version to 2.17.0 --- pkg.info | 7 ++++++- source.sh | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index fda830a..cda3691 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: bash-completion description: Programmable completion functions for bash -version: 2.16.0 +version: 2.17.0 revision: 1 url: https://github.com/scop/bash-completion/ license: GPL2-or-later @@ -9,3 +9,8 @@ output_architecture: any type: source depends: - bash +downloads: + - url: https://github.com/scop/bash-completion/releases/download/${BPM_PKG_VERSION}/bash-completion-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: dd9d825e496435fb3beba3ae7bea9f77e821e894667d07431d1d4c8c570b9e58 diff --git a/source.sh b/source.sh index 9af5b63..4a6cda4 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/scop/bash-completion/releases/download/${BPM_PKG_VERSION}/bash-completion-${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() {