From 66808ee8e863459e55c053b423a4ab7dc3152689 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 Jan 2026 14:08:31 +0200 Subject: [PATCH] Update package version to 4.20.1 --- pkg.info | 7 ++++--- source.sh | 11 ++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pkg.info b/pkg.info index e02c3e9..06aa3e1 100644 --- a/pkg.info +++ b/pkg.info @@ -1,16 +1,17 @@ name: iso-codes description: Package providing lists of various ISO standards -version: 4.19.0 +version: 4.20.1 revision: 1 url: https://salsa.debian.org/iso-codes-team/iso-codes -license: LGPL2.1 +license: LGPL2.1-only,FSFAP architecture: any output_architecture: any type: source make_depends: + - meson - 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 + checksum: 2d7d9f6084ab9ce6c534ce71a3dd5144b6e474f3c97616459a88f73f44a64bff diff --git a/source.sh b/source.sh index 3ef113d..ff22419 100644 --- a/source.sh +++ b/source.sh @@ -5,20 +5,21 @@ # 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() { - ./configure --prefix=/usr - make + meson setup build --prefix=/usr + meson compile -C build } # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { - make check + meson test -C build } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - make DESTDIR="$BPM_OUTPUT" install + meson install -C build --destdir="$BPM_OUTPUT" - install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/iso-codes/COPYING + # Install package license + install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/iso-codes }