From c09b02ab99d0e394f1f60fbb876a437d4e8e871f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 27 Feb 2026 17:27:00 +0200 Subject: [PATCH] Update package version to 1.6.8 --- pkg.info | 17 +++++++++++++++-- source.sh | 16 ++-------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/pkg.info b/pkg.info index c75c279..e2bdc77 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,21 @@ name: libksba description: Library to make the tasks of working with X.509 certificates, CMS data and related objects easier -version: 1.6.7 +version: 1.6.8 +revision: 1 url: https://www.gnupg.org/related_software/libksba/ license: GPL2-only,GPL3-only,LGPL3-only +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["glibc","libgpg-error","bash"] type: source +depends: + - glibc + - libgpg-error + - bash +make_depends: + - bzip2 +downloads: + - url: https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 0f4510f1c7a679c3545990a31479f391ad45d84e039176309d42f80cf41743f5 diff --git a/source.sh b/source.sh index c21cdc0..fe3eb81 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.gnupg.org/ftp/gcrypt/libksba/libksba-${BPM_PKG_VERSION}.tar.bz2" -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() { @@ -30,8 +20,6 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install - install -Dm644 "$BPM_SOURCE"/COPYING.LGPLv3 "$BPM_OUTPUT"/usr/share/licenses/libksba/COPYING.LGPLv3 - install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libksba/COPYING - install -Dm644 "$BPM_SOURCE"/COPYING.GPLv3 "$BPM_OUTPUT"/usr/share/licenses/libksba/COPYING.GPLv3 - install -Dm644 "$BPM_SOURCE"/COPYING.GPLv2 "$BPM_OUTPUT"/usr/share/licenses/libksba/COPYING.GPLv2 + # Install package licenses + install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/libksba/COPYING.LGPLv3 }