Update package version to 4.20.1

This commit is contained in:
2026-01-10 14:08:31 +02:00
parent 54f5c2b5e2
commit 66808ee8e8
2 changed files with 10 additions and 8 deletions
+4 -3
View File
@@ -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
+6 -5
View File
@@ -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
}