Update package version to 4.20.1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user