From 9be54ecc4d8d3ae577d8c35c6baa944be4c4c0b8 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 14 Feb 2026 15:00:01 +0200 Subject: [PATCH] Update package version to 2.2 --- pkg.info | 13 +++++++++++-- source.sh | 10 ---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index eb16cb4..f1885bb 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,17 @@ name: sbc description: Bluetooth subband codec (SBC) library -version: 2.1 +version: "2.2" +revision: 1 url: https://git.kernel.org/pub/scm/bluetooth/sbc.git license: GPL2-or-later,LGPL2.1-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["glibc"] type: source +depends: + - glibc +downloads: + - url: https://www.kernel.org/pub/linux/bluetooth/sbc-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: a1ada76ef35e5af9c2fbd063754dc9e37a8d989417c6eb1ecebb089b1383ae9e diff --git a/source.sh b/source.sh index 94391db..9b74425 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://www.kernel.org/pub/linux/bluetooth/sbc-${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() {