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
+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
}