From 54f5c2b5e2e9196fc52069c16cd134cf2cf5ef52 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 15 Nov 2025 15:56:08 +0200 Subject: [PATCH] Update package version to 4.19.0 --- pkg.info | 7 ++++++- source.sh | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 78e1305..e02c3e9 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: iso-codes description: Package providing lists of various ISO standards -version: 4.18.0 +version: 4.19.0 revision: 1 url: https://salsa.debian.org/iso-codes-team/iso-codes license: LGPL2.1 @@ -9,3 +9,8 @@ output_architecture: any type: source make_depends: - python3 +downloads: + - url: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v${BPM_PKG_VERSION}/iso-codes-v${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 4b143a891feb7d1bb64e44fe3ef253ef36ba1185d1d129c1425338dc6e46e27d diff --git a/source.sh b/source.sh index d852520..3ef113d 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://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v${BPM_PKG_VERSION}/iso-codes-v${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" -} - # The build function is executed in the source directory # This function is used to compile the source codehttps://gitlab.archlinux.org/archlinux/packaging/packages/iso-codes/-/archive/4.16.0-1/iso-codes-4.16.0-1.tar.gz build() {